<?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 FOR EXPOTING IN TEXT with 3 Delimiters in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/FOR-EXPOTING-IN-TEXT-with-3-Delimiters/m-p/49588#M10292</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi i am having data but i wnat to export the data into text file but i want to give 3 delimeters ,how can i do it ,i have tested it but it was taking only one delimter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc export data=test outfile="/tmp/mydata/test.txt"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; dbms=dlm replace; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; delimiter='^?/';&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Feb 2012 06:07:32 GMT</pubDate>
    <dc:creator>sas_</dc:creator>
    <dc:date>2012-02-09T06:07:32Z</dc:date>
    <item>
      <title>FOR EXPOTING IN TEXT with 3 Delimiters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/FOR-EXPOTING-IN-TEXT-with-3-Delimiters/m-p/49588#M10292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi i am having data but i wnat to export the data into text file but i want to give 3 delimeters ,how can i do it ,i have tested it but it was taking only one delimter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc export data=test outfile="/tmp/mydata/test.txt"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; dbms=dlm replace; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; delimiter='^?/';&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 06:07:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/FOR-EXPOTING-IN-TEXT-with-3-Delimiters/m-p/49588#M10292</guid>
      <dc:creator>sas_</dc:creator>
      <dc:date>2012-02-09T06:07:32Z</dc:date>
    </item>
    <item>
      <title>FOR EXPOTING IN TEXT with 3 Delimiters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/FOR-EXPOTING-IN-TEXT-with-3-Delimiters/m-p/49589#M10293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; The DATA step can be used to write delimited files.&amp;nbsp; Consider this step as a starting point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; set sashelp.class;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; file "c:\temp\test.txt" &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dlmstr='^?/';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; put name age sex height weight;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 06:50:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/FOR-EXPOTING-IN-TEXT-with-3-Delimiters/m-p/49589#M10293</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2012-02-09T06:50:20Z</dc:date>
    </item>
    <item>
      <title>FOR EXPOTING IN TEXT with 3 Delimiters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/FOR-EXPOTING-IN-TEXT-with-3-Delimiters/m-p/49590#M10294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thqs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 07:07:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/FOR-EXPOTING-IN-TEXT-with-3-Delimiters/m-p/49590#M10294</guid>
      <dc:creator>sas_</dc:creator>
      <dc:date>2012-02-09T07:07:41Z</dc:date>
    </item>
    <item>
      <title>FOR EXPOTING IN TEXT with 3 Delimiters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/FOR-EXPOTING-IN-TEXT-with-3-Delimiters/m-p/49591#M10295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; but i am not getting the variable names if i wnat the variable names what should i do i have used put also.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 07:15:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/FOR-EXPOTING-IN-TEXT-with-3-Delimiters/m-p/49591#M10295</guid>
      <dc:creator>sas_</dc:creator>
      <dc:date>2012-02-09T07:15:27Z</dc:date>
    </item>
    <item>
      <title>FOR EXPOTING IN TEXT with 3 Delimiters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/FOR-EXPOTING-IN-TEXT-with-3-Delimiters/m-p/49592#M10296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; This will add the variable names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; set sashelp.class;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; file "c:\temp\test.txt" &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dlmstr='^?/';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; if _n_=1 then put 'name^?/age^?/sex^?/height^?/weight';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; put name age sex height weight;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are DATA step solutions that do not require you to know the variable names, but they are more complicated. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 16:51:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/FOR-EXPOTING-IN-TEXT-with-3-Delimiters/m-p/49592#M10296</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2012-02-09T16:51:01Z</dc:date>
    </item>
  </channel>
</rss>

