<?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: Exporting output in .txt files in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Exporting-output-in-txt-files/m-p/176404#M264709</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having SAS Snippet to directly export the any SAS dataset in .txt format based on the structure of that SAS dataset...You can find the attached file to solve your question...Hope it meets your requirements...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This snippet i developed where i have not considered Delimeter facility so by default it will put space between the variables as delimeter...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Urvish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Feb 2014 11:32:44 GMT</pubDate>
    <dc:creator>UrvishShah</dc:creator>
    <dc:date>2014-02-17T11:32:44Z</dc:date>
    <item>
      <title>Exporting output in .txt files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exporting-output-in-txt-files/m-p/176403#M264708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;I am using proc export with | as delimiter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc export data= xyz&lt;BR /&gt;outfile="path/sashelp.class.TXT"&amp;nbsp; &lt;BR /&gt;dbms=dlm replace ;&lt;BR /&gt;delimiter='|' ;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Name|Sex|Age|Height|Weight&lt;BR /&gt;Alfred|M|61|2400|112.5&lt;BR /&gt;Alice|F|61|50|84&lt;BR /&gt;Barbara|F|61|50|98&lt;BR /&gt;Carol|F|61|50|102.5&lt;BR /&gt;Henry|M|61|50|102.5&lt;BR /&gt;James|M|61|50|83&lt;BR /&gt;Jane|F|61|50|84.5&lt;BR /&gt;Janet|F|61|50|112.5&lt;BR /&gt;Jeffrey|M|61|50|84&lt;BR /&gt;John|M|61|50|99.5&lt;BR /&gt;Joyce|F|61|50|50.5&lt;BR /&gt;Judy|F|61|50|90&lt;BR /&gt;Louise|F|61|50|77&lt;BR /&gt;Mary|F|61|50|112&lt;BR /&gt;Philip|M|61|50|150&lt;BR /&gt;Robert|M|61|50|128&lt;BR /&gt;Ronald|M|61|50|133&lt;BR /&gt;Thomas|M|61|50|85&lt;/P&gt;&lt;P&gt;but when i am uploading into software then it is not taking next line after completion of 1st line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Name|Sex|Age|Height|Weight&lt;/P&gt;&lt;P&gt;Alfred|M|61|2400|112.5Alice|F|61|50|84Barbara|F|61|50|98Carol|F|61|50|102.5Henry|M|61|50|102.5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am getting output like this is there any solution to get 5Alice|F|61|50|84 in next row&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2014 07:33:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exporting-output-in-txt-files/m-p/176403#M264708</guid>
      <dc:creator>santhosh</dc:creator>
      <dc:date>2014-02-17T07:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting output in .txt files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exporting-output-in-txt-files/m-p/176404#M264709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having SAS Snippet to directly export the any SAS dataset in .txt format based on the structure of that SAS dataset...You can find the attached file to solve your question...Hope it meets your requirements...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This snippet i developed where i have not considered Delimeter facility so by default it will put space between the variables as delimeter...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Urvish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2014 11:32:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exporting-output-in-txt-files/m-p/176404#M264709</guid>
      <dc:creator>UrvishShah</dc:creator>
      <dc:date>2014-02-17T11:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting output in .txt files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exporting-output-in-txt-files/m-p/176405#M264710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What software are you "uploading into" and what OS is it running on?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 17:27:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exporting-output-in-txt-files/m-p/176405#M264710</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2014-02-18T17:27:57Z</dc:date>
    </item>
  </channel>
</rss>

