<?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: proc import- how to avoid the scientific notation for long numbers in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/proc-import-how-to-avoid-the-scientific-notation-for-long/m-p/71294#M20566</link>
    <description>One cause of the scientific notation is that the values have been imported with a BESTX. format and the width is smaller than you would like. So SAS is only displaying the X number of columns. By default SAS uses 20 rows to guess the format for numerics (from online help for PROC IMPORT). Set the option  GUESSINGROWS=  to something larger so that SAS "sees" more rows and gets a better chance to assign a width you'd like.&lt;BR /&gt;
&lt;BR /&gt;
Or look at the datastep code generated in the log when using PROC IMPORT and customize it to assign the formats you'd like. Copy it from the LOG, past into the editor and got to town. I would recommend this if you you are going to import many files in the same format.</description>
    <pubDate>Tue, 31 May 2011 15:16:01 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2011-05-31T15:16:01Z</dc:date>
    <item>
      <title>proc import- how to avoid the scientific notation for long numbers</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-import-how-to-avoid-the-scientific-notation-for-long/m-p/71292#M20564</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I need to import a text file and avoid the scientific notation for long numbers, is there an option I could use in proc import?&lt;BR /&gt;
&lt;BR /&gt;
Thank you in advance,</description>
      <pubDate>Tue, 31 May 2011 04:28:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-import-how-to-avoid-the-scientific-notation-for-long/m-p/71292#M20564</guid>
      <dc:creator>jad12</dc:creator>
      <dc:date>2011-05-31T04:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: proc import- how to avoid the scientific notation for long numbers</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-import-how-to-avoid-the-scientific-notation-for-long/m-p/71293#M20565</link>
      <description>Hello Jad12,&lt;BR /&gt;
&lt;BR /&gt;
Why do you need to avoid scientific notation? It is only a representation of numbers and you could change it using appropriate formatting.&lt;BR /&gt;
&lt;BR /&gt;
Sincerely,&lt;BR /&gt;
SPR</description>
      <pubDate>Tue, 31 May 2011 14:34:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-import-how-to-avoid-the-scientific-notation-for-long/m-p/71293#M20565</guid>
      <dc:creator>SPR</dc:creator>
      <dc:date>2011-05-31T14:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: proc import- how to avoid the scientific notation for long numbers</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-import-how-to-avoid-the-scientific-notation-for-long/m-p/71294#M20566</link>
      <description>One cause of the scientific notation is that the values have been imported with a BESTX. format and the width is smaller than you would like. So SAS is only displaying the X number of columns. By default SAS uses 20 rows to guess the format for numerics (from online help for PROC IMPORT). Set the option  GUESSINGROWS=  to something larger so that SAS "sees" more rows and gets a better chance to assign a width you'd like.&lt;BR /&gt;
&lt;BR /&gt;
Or look at the datastep code generated in the log when using PROC IMPORT and customize it to assign the formats you'd like. Copy it from the LOG, past into the editor and got to town. I would recommend this if you you are going to import many files in the same format.</description>
      <pubDate>Tue, 31 May 2011 15:16:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-import-how-to-avoid-the-scientific-notation-for-long/m-p/71294#M20566</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2011-05-31T15:16:01Z</dc:date>
    </item>
  </channel>
</rss>

