<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Variable validation in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Variable-validation/m-p/437085#M108797</link>
    <description>&lt;P&gt;The function vvalue returns the formatted value of a variable. Maybe exporting the data can be skipped by using that function. Can't test it now, just an idea.&lt;/P&gt;</description>
    <pubDate>Wed, 14 Feb 2018 13:55:01 GMT</pubDate>
    <dc:creator>andreas_lds</dc:creator>
    <dc:date>2018-02-14T13:55:01Z</dc:date>
    <item>
      <title>Variable validation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Variable-validation/m-p/437072#M108792</link>
      <description>&lt;P&gt;Assume I have a variable called "amount" and it has values like&amp;nbsp;-15.59000,&amp;nbsp;-1125.59000 etc and the format&amp;nbsp;&lt;STRONG&gt;NLNUM18.5&lt;/STRONG&gt; has already been applied on that variable. Is there any way to verify that this variable is not displaying the values in exponential notation?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I find difficult to manually verify the values (it has over 10L unique values) for this variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 13:17:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Variable-validation/m-p/437072#M108792</guid>
      <dc:creator>Babloo</dc:creator>
      <dc:date>2018-02-14T13:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: Variable validation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Variable-validation/m-p/437074#M108793</link>
      <description>&lt;P&gt;Print the Variable&amp;nbsp;&lt;SPAN&gt;amount into a text file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In printing into text file SAS prints the value as it is displayed format in the table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Search for E in the file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This had worked for me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you have some E then try rounding off the value to your desired decimal places.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 13:29:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Variable-validation/m-p/437074#M108793</guid>
      <dc:creator>Satish_Parida</dc:creator>
      <dc:date>2018-02-14T13:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: Variable validation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Variable-validation/m-p/437083#M108796</link>
      <description>&lt;P&gt;Put the data into text, do a lengthn() function on it:&lt;/P&gt;
&lt;PRE&gt;data test;
  length test $200;
  set have;
  test=put(nlnum,best.);
  check=lengthn(test);
  if check &amp;gt; 18;
run;
&lt;/PRE&gt;
&lt;P&gt;Note, as always, post test data in the form of a datastep, I cannot test the above code.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 13:53:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Variable-validation/m-p/437083#M108796</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-02-14T13:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: Variable validation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Variable-validation/m-p/437085#M108797</link>
      <description>&lt;P&gt;The function vvalue returns the formatted value of a variable. Maybe exporting the data can be skipped by using that function. Can't test it now, just an idea.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 13:55:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Variable-validation/m-p/437085#M108797</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2018-02-14T13:55:01Z</dc:date>
    </item>
  </channel>
</rss>

