<?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 csv in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-import-csv/m-p/28788#M6728</link>
    <description>hi,&lt;BR /&gt;
&lt;BR /&gt;
try with Proc import statement and use sheetname='sheetname'$ .&lt;BR /&gt;
&lt;BR /&gt;
Ex: &lt;BR /&gt;
Proc import data=' ' outfile=work.xyz replace;&lt;BR /&gt;
 sheetname='sheetname'$ &lt;BR /&gt;
quit;</description>
    <pubDate>Mon, 14 Mar 2011 14:45:33 GMT</pubDate>
    <dc:creator>sss</dc:creator>
    <dc:date>2011-03-14T14:45:33Z</dc:date>
    <item>
      <title>Proc import csv</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-import-csv/m-p/28787#M6727</link>
      <description>Hi,&lt;BR /&gt;
I have csv file &lt;BR /&gt;
&lt;BR /&gt;
ex: id  money&lt;BR /&gt;
      1  31803,03&lt;BR /&gt;
&lt;BR /&gt;
I want read in sas db money whit format BEST12.&lt;BR /&gt;
&lt;BR /&gt;
ex: id  money&lt;BR /&gt;
      1  31803.03&lt;BR /&gt;
&lt;BR /&gt;
but the output is this:&lt;BR /&gt;
&lt;BR /&gt;
ex: id  money&lt;BR /&gt;
      1  3180303000 &lt;BR /&gt;
&lt;BR /&gt;
money format = COMMA1 &lt;BR /&gt;
money informat = COMMA3.&lt;BR /&gt;
&lt;BR /&gt;
Why sas read the number in this way?&lt;BR /&gt;
Are there any option to set in proc import step? &lt;BR /&gt;
Can I change the money format?

Message was edited by: CMilena</description>
      <pubDate>Mon, 14 Mar 2011 10:19:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-import-csv/m-p/28787#M6727</guid>
      <dc:creator>CMilena</dc:creator>
      <dc:date>2011-03-14T10:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: Proc import csv</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-import-csv/m-p/28788#M6728</link>
      <description>hi,&lt;BR /&gt;
&lt;BR /&gt;
try with Proc import statement and use sheetname='sheetname'$ .&lt;BR /&gt;
&lt;BR /&gt;
Ex: &lt;BR /&gt;
Proc import data=' ' outfile=work.xyz replace;&lt;BR /&gt;
 sheetname='sheetname'$ &lt;BR /&gt;
quit;</description>
      <pubDate>Mon, 14 Mar 2011 14:45:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-import-csv/m-p/28788#M6728</guid>
      <dc:creator>sss</dc:creator>
      <dc:date>2011-03-14T14:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: Proc import csv</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-import-csv/m-p/28789#M6729</link>
      <description>It looks like you need to be using the COMMAXw.d format.  (note the "X" for reversing the role of the comma and decimal in money).</description>
      <pubDate>Mon, 14 Mar 2011 17:11:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-import-csv/m-p/28789#M6729</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2011-03-14T17:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: Proc import csv</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-import-csv/m-p/28790#M6730</link>
      <description>I find that most real CSV data files don't get handled well by the defaults or even available options with PROC IMPORT. I go to the log after running PROC IMPORT and find the generated lines of code, copy and paste into the editor. Then clean up the informats, formats, input statemement and add labels.</description>
      <pubDate>Mon, 14 Mar 2011 22:45:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-import-csv/m-p/28790#M6730</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2011-03-14T22:45:25Z</dc:date>
    </item>
  </channel>
</rss>

