<?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: how to avoid dropping zeros in csv when i open in excel in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-avoid-dropping-zeros-in-csv-when-i-open-in-excel/m-p/242791#M15036</link>
    <description>&lt;P&gt;Open the file with a text editor and you'll see the leading zeroes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Excel is trying to be smart and removing the 0's.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also view this by opening Excel and then importing the data rather than opening the file directly with Excel. The import wizard will allow you to specify variable type - character rather than numeric.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 11 Jan 2016 19:44:21 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2016-01-11T19:44:21Z</dc:date>
    <item>
      <title>how to avoid dropping zeros in csv when i open in excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-avoid-dropping-zeros-in-csv-when-i-open-in-excel/m-p/242789#M15035</link>
      <description>&lt;P&gt;this is my program :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data_null_;&lt;/P&gt;&lt;P&gt;filename abcd 'c:/sample.csv';&lt;/P&gt;&lt;P&gt;set sample;&lt;/P&gt;&lt;P&gt;file abcd;&lt;/P&gt;&lt;P&gt;delimiter=' ,' dsd 1rec1=350;&lt;/P&gt;&lt;P&gt;if&amp;nbsp;_n_=1&lt;/P&gt;&lt;P&gt;then do ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;put ' date '&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'name'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'location'&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;put date&lt;/P&gt;&lt;P&gt;name&lt;/P&gt;&lt;P&gt;location&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in output&amp;nbsp; date variable appears as 1045 instead of 001045 .&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2016 19:39:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-avoid-dropping-zeros-in-csv-when-i-open-in-excel/m-p/242789#M15035</guid>
      <dc:creator>14sas</dc:creator>
      <dc:date>2016-01-11T19:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: how to avoid dropping zeros in csv when i open in excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-avoid-dropping-zeros-in-csv-when-i-open-in-excel/m-p/242791#M15036</link>
      <description>&lt;P&gt;Open the file with a text editor and you'll see the leading zeroes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Excel is trying to be smart and removing the 0's.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also view this by opening Excel and then importing the data rather than opening the file directly with Excel. The import wizard will allow you to specify variable type - character rather than numeric.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2016 19:44:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-avoid-dropping-zeros-in-csv-when-i-open-in-excel/m-p/242791#M15036</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-01-11T19:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: how to avoid dropping zeros in csv when i open in excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-avoid-dropping-zeros-in-csv-when-i-open-in-excel/m-p/242792#M15037</link>
      <description>with proc import ?</description>
      <pubDate>Mon, 11 Jan 2016 19:46:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-avoid-dropping-zeros-in-csv-when-i-open-in-excel/m-p/242792#M15037</guid>
      <dc:creator>14sas</dc:creator>
      <dc:date>2016-01-11T19:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: how to avoid dropping zeros in csv when i open in excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-avoid-dropping-zeros-in-csv-when-i-open-in-excel/m-p/242793#M15038</link>
      <description>if i use proc import ,will it works if i ever do this FTP?</description>
      <pubDate>Mon, 11 Jan 2016 19:47:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-avoid-dropping-zeros-in-csv-when-i-open-in-excel/m-p/242793#M15038</guid>
      <dc:creator>14sas</dc:creator>
      <dc:date>2016-01-11T19:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: how to avoid dropping zeros in csv when i open in excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-avoid-dropping-zeros-in-csv-when-i-open-in-excel/m-p/242797#M15039</link>
      <description>&lt;P&gt;I don't understand your question. What role does PROC IMPORT play in the process?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2016 19:54:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-avoid-dropping-zeros-in-csv-when-i-open-in-excel/m-p/242797#M15039</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-01-11T19:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: how to avoid dropping zeros in csv when i open in excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-avoid-dropping-zeros-in-csv-when-i-open-in-excel/m-p/242801#M15040</link>
      <description>how proc import will help me can you quote me any example.Thanks&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Jan 2016 20:22:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-avoid-dropping-zeros-in-csv-when-i-open-in-excel/m-p/242801#M15040</guid>
      <dc:creator>14sas</dc:creator>
      <dc:date>2016-01-11T20:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: how to avoid dropping zeros in csv when i open in excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-avoid-dropping-zeros-in-csv-when-i-open-in-excel/m-p/242803#M15041</link>
      <description>Proc import is a SAS procedure for importing data into SAS. Your process has no relation to proc import. &lt;BR /&gt;&lt;BR /&gt;If you're referring to the import I first mentioned in my answer, that was the Excel Import Wizard, not the SAS Proc Import.&lt;BR /&gt;&lt;BR /&gt;See the details here:&lt;BR /&gt;&lt;A href="https://support.office.com/en-my/article/Import-data-using-the-Text-Import-Wizard-40c6d5e6-41b0-4575-a54e-967bbe63a048" target="_blank"&gt;https://support.office.com/en-my/article/Import-data-using-the-Text-Import-Wizard-40c6d5e6-41b0-4575-a54e-967bbe63a048&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regardless, my original answer stands, open the data in a text editor to see the raw data.</description>
      <pubDate>Mon, 11 Jan 2016 20:25:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-avoid-dropping-zeros-in-csv-when-i-open-in-excel/m-p/242803#M15041</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-01-11T20:25:08Z</dc:date>
    </item>
  </channel>
</rss>

