<?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 Export issue with CSV fil in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Export-issue-with-CSV-fil/m-p/525334#M142941</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying export a dataset with employee_id field to CSV file. File was created but the last digit value is getting replaced with "0".&lt;/P&gt;&lt;P&gt;Ex:- In dataset , Employee_ID has value 8593217412 , when i export the data the value looks like&amp;nbsp;&lt;SPAN&gt;859321741&lt;STRONG&gt;0&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;SAS Code:-&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;ods csv file='LIST1.csv';&lt;BR /&gt;proc print data=work.TEST1;&lt;BR /&gt;run;&lt;BR /&gt;ods csv close;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any solution for this ?&lt;/P&gt;&lt;P&gt;Please someone correct me where I'm wrong here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 08 Jan 2019 07:10:25 GMT</pubDate>
    <dc:creator>AshokD</dc:creator>
    <dc:date>2019-01-08T07:10:25Z</dc:date>
    <item>
      <title>Export issue with CSV fil</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Export-issue-with-CSV-fil/m-p/525334#M142941</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying export a dataset with employee_id field to CSV file. File was created but the last digit value is getting replaced with "0".&lt;/P&gt;&lt;P&gt;Ex:- In dataset , Employee_ID has value 8593217412 , when i export the data the value looks like&amp;nbsp;&lt;SPAN&gt;859321741&lt;STRONG&gt;0&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;SAS Code:-&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;ods csv file='LIST1.csv';&lt;BR /&gt;proc print data=work.TEST1;&lt;BR /&gt;run;&lt;BR /&gt;ods csv close;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any solution for this ?&lt;/P&gt;&lt;P&gt;Please someone correct me where I'm wrong here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 07:10:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Export-issue-with-CSV-fil/m-p/525334#M142941</guid>
      <dc:creator>AshokD</dc:creator>
      <dc:date>2019-01-08T07:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: Export issue with CSV fil</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Export-issue-with-CSV-fil/m-p/525344#M142942</link>
      <description>&lt;P&gt;Please post a sample of work.test1 in a data step with datalines (see my footnotes).&lt;/P&gt;
&lt;P&gt;ODS CSV is probably the least efficient way to create a csv file; proc export is a much better way to go, and writing your own data step the best.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 08:13:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Export-issue-with-CSV-fil/m-p/525344#M142942</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-01-08T08:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: Export issue with CSV fil</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Export-issue-with-CSV-fil/m-p/525459#M142978</link>
      <description>&lt;P&gt;What FORMAT is currently assigned to your Employee_Id variable?&lt;/P&gt;
&lt;P&gt;How are you examining the values in the CSV file? If using a spread sheet you might have a display that is rounding values for some reason and you should check the appearance in a plain text editor such as NotePad or even the SAS editor.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It would appear that your variable is numeric. ID variables that you are not doing arithmetic with should generally not be numeric but character.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 16:09:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Export-issue-with-CSV-fil/m-p/525459#M142978</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-01-08T16:09:10Z</dc:date>
    </item>
  </channel>
</rss>

