<?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: Coverting SAS datasets into .txt files and Vice versa in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Coverting-SAS-datasets-into-txt-files-and-Vice-versa/m-p/128768#M35157</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;and if you don't like proc export&lt;/P&gt;&lt;P&gt;data _null_ ;&lt;/P&gt;&lt;P&gt;file 'your.csv' dsd lrecl=30000 ;&lt;/P&gt;&lt;P&gt;set your.data ;&lt;/P&gt;&lt;P&gt;put (_all_)(:) ;&lt;/P&gt;&lt;P&gt;run ;&lt;/P&gt;&lt;P&gt;Probably a good idea also to write the proc contents output data set into a matching csv&lt;/P&gt;&lt;P&gt;Then the reciever of the data has an idea about the datatypes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Mar 2013 23:50:38 GMT</pubDate>
    <dc:creator>Peter_C</dc:creator>
    <dc:date>2013-03-06T23:50:38Z</dc:date>
    <item>
      <title>Coverting SAS datasets into .txt files and Vice versa</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Coverting-SAS-datasets-into-txt-files-and-Vice-versa/m-p/128762#M35151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question&amp;nbsp; A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have situation where i need convert the SAS datasets into the flat files irrespective how many varaiables or how much data it has . ( i am trying out in such a way that if i give dataset name it should convert the data into flat file)&lt;/P&gt;&lt;P&gt;"One observation should be read as single like example i am going to assign varchar(3000)&amp;nbsp; so on."&lt;/P&gt;&lt;P&gt;Question&amp;nbsp; B&lt;/P&gt;&lt;P&gt;Coverting the flat file into the sas dataset even in this case also i am not about the size but should read the variables and coloums data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would really be apprciated .. I am trying out from end as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MVK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2013 13:28:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Coverting-SAS-datasets-into-txt-files-and-Vice-versa/m-p/128762#M35151</guid>
      <dc:creator>mvk_sas</dc:creator>
      <dc:date>2013-03-06T13:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: Coverting SAS datasets into .txt files and Vice versa</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Coverting-SAS-datasets-into-txt-files-and-Vice-versa/m-p/128763#M35152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure about your requirements, but try to start with PROC EXPORT/IMPORT, and see if they can do what you need.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2013 13:43:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Coverting-SAS-datasets-into-txt-files-and-Vice-versa/m-p/128763#M35152</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2013-03-06T13:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: Coverting SAS datasets into .txt files and Vice versa</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Coverting-SAS-datasets-into-txt-files-and-Vice-versa/m-p/128764#M35153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check out Chris' blog posting. Either you can use his Enterprise Guide task, or it may give you some ideas to do it yourself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://blogs.sas.com/content/sasdummy/2013/01/21/turn-your-data-set-into-a-data-step-program/"&gt;http://blogs.sas.com/content/sasdummy/2013/01/21/turn-your-data-set-into-a-data-step-program/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2013 13:51:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Coverting-SAS-datasets-into-txt-files-and-Vice-versa/m-p/128764#M35153</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2013-03-06T13:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Coverting SAS datasets into .txt files and Vice versa</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Coverting-SAS-datasets-into-txt-files-and-Vice-versa/m-p/128765#M35154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just for understanding this what i am looking at&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mydataset has following observation in that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First_name Last_name&amp;nbsp; Enumber&lt;/P&gt;&lt;P&gt;Mike&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dell&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1234&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i read the data into flat file i want it this way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First_name,Last_name,Enumber&lt;/P&gt;&lt;P&gt;Mike,Dell,1234&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This what i am looking for??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help on this is apprciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MVK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2013 14:09:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Coverting-SAS-datasets-into-txt-files-and-Vice-versa/m-p/128765#M35154</guid>
      <dc:creator>mvk_sas</dc:creator>
      <dc:date>2013-03-06T14:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: Coverting SAS datasets into .txt files and Vice versa</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Coverting-SAS-datasets-into-txt-files-and-Vice-versa/m-p/128766#M35155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PROC EXPORT!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2013 14:14:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Coverting-SAS-datasets-into-txt-files-and-Vice-versa/m-p/128766#M35155</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2013-03-06T14:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: Coverting SAS datasets into .txt files and Vice versa</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Coverting-SAS-datasets-into-txt-files-and-Vice-versa/m-p/128767#M35156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, the format that you are showing is termed "csv", for comma-separated-values. This is easy do to with SAS. As Linus suggests, check out PROC EXPORT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2013 18:44:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Coverting-SAS-datasets-into-txt-files-and-Vice-versa/m-p/128767#M35156</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2013-03-06T18:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: Coverting SAS datasets into .txt files and Vice versa</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Coverting-SAS-datasets-into-txt-files-and-Vice-versa/m-p/128768#M35157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;and if you don't like proc export&lt;/P&gt;&lt;P&gt;data _null_ ;&lt;/P&gt;&lt;P&gt;file 'your.csv' dsd lrecl=30000 ;&lt;/P&gt;&lt;P&gt;set your.data ;&lt;/P&gt;&lt;P&gt;put (_all_)(:) ;&lt;/P&gt;&lt;P&gt;run ;&lt;/P&gt;&lt;P&gt;Probably a good idea also to write the proc contents output data set into a matching csv&lt;/P&gt;&lt;P&gt;Then the reciever of the data has an idea about the datatypes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2013 23:50:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Coverting-SAS-datasets-into-txt-files-and-Vice-versa/m-p/128768#M35157</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2013-03-06T23:50:38Z</dc:date>
    </item>
  </channel>
</rss>

