<?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 proc import as text in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/proc-import-as-text/m-p/160099#M41735</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using a proc import step to load an xls file to sas dataset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to export everything as text...how to do it? By default, it is importing a date like 30/06/2014 as 30JUN2014&amp;nbsp; and i don't want to reconvert it later to right format. I just want the original text.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Nov 2014 21:29:54 GMT</pubDate>
    <dc:creator>eagles_dare13</dc:creator>
    <dc:date>2014-11-06T21:29:54Z</dc:date>
    <item>
      <title>proc import as text</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-import-as-text/m-p/160099#M41735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using a proc import step to load an xls file to sas dataset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to export everything as text...how to do it? By default, it is importing a date like 30/06/2014 as 30JUN2014&amp;nbsp; and i don't want to reconvert it later to right format. I just want the original text.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 21:29:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-import-as-text/m-p/160099#M41735</guid>
      <dc:creator>eagles_dare13</dc:creator>
      <dc:date>2014-11-06T21:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: proc import as text</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-import-as-text/m-p/160100#M41736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know but it sounds like it is trying to be helpful.&amp;nbsp; It sees what it guesses must be a date, you don't say anything, and it says OK, I'll make it a date because I am helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would guess if you import the Excel sheet as CSV you would get more control and coudl tell SAS what to do instead of defaulting and letting the program guess. If the data came in as text it might export as text.&amp;nbsp; I would think you could convert it in SAS before exporting to whatever you want in any event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe seeing your PROC IMPORT statement would help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 23:47:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-import-as-text/m-p/160100#M41736</guid>
      <dc:creator>HB</dc:creator>
      <dc:date>2014-11-06T23:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: proc import as text</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-import-as-text/m-p/160101#M41737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you provide an example?&amp;nbsp; In general I do not see SAS changing values on import.&amp;nbsp; That is something that is much more likely to happen in Excel when trying to read in a text files like a CSV file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2014 01:05:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-import-as-text/m-p/160101#M41737</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2014-11-07T01:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: proc import as text</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-import-as-text/m-p/160102#M41738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When the import procedure sees something that looks like a date, it reads this into a numeric variable and assigns the default date9. format, which displays the date as you see it. You just need to assign the ddmmyy10. format before exporting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2014 07:28:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-import-as-text/m-p/160102#M41738</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2014-11-07T07:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: proc import as text</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-import-as-text/m-p/160103#M41739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You submit the proc import procedure and then you press F4. This will show you the entire code and you can change it as you wish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2014 15:53:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-import-as-text/m-p/160103#M41739</guid>
      <dc:creator>loredana_cornea</dc:creator>
      <dc:date>2014-11-07T15:53:03Z</dc:date>
    </item>
  </channel>
</rss>

