<?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: PROC EXPORT file .txt in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-file-txt/m-p/24624#M5572</link>
    <description>&lt;P&gt;&lt;FONT face="helvetica"&gt;&lt;EM&gt;Editor’s Note: This is a popular topic. Thanks to &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt; for providing the solution below. The following SAS Note shows how to control variable names when using PROC EXPORT with a comma, tab or delimited file:&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="helvetica"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="helvetica"&gt;&lt;EM&gt;&lt;A href="http://support.sas.com/kb/41/735.html" target="_blank"&gt;Usage Note 41735&lt;/A&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi.&lt;BR /&gt; How about this:&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; [pre]&lt;BR /&gt; proc export data=sashelp.class outfile='c:\class.txt' dbms=tab replace;&lt;BR /&gt; putnames=no;&lt;BR /&gt; run;&lt;BR /&gt; [/pre]&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; Ksharp&lt;/P&gt;</description>
    <pubDate>Mon, 19 Dec 2016 14:31:26 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2016-12-19T14:31:26Z</dc:date>
    <item>
      <title>PROC EXPORT file .txt</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-file-txt/m-p/24622#M5570</link>
      <description>When I export  txt file whit PROC EXPORT&lt;BR /&gt;
&lt;BR /&gt;
PROC EXPORT DATA= RATA_0_TXT&lt;BR /&gt;
            OUTFILE= "P:\Risk Management\MORTGAGE\...............txt" &lt;BR /&gt;
            DBMS=TAB REPLACE;&lt;BR /&gt;
RUN;&lt;BR /&gt;
&lt;BR /&gt;
I wouldn’t write the column's name .&lt;BR /&gt;
How can I do? &lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance</description>
      <pubDate>Tue, 08 Mar 2011 15:11:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-file-txt/m-p/24622#M5570</guid>
      <dc:creator>CMilena</dc:creator>
      <dc:date>2011-03-08T15:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: PROC EXPORT file .txt</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-file-txt/m-p/24623#M5571</link>
      <description>Hi:&lt;BR /&gt;
  There have been many previous forum postings on this topic. If you use the forum's search facility you should be able to find some of those previous solutions.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Tue, 08 Mar 2011 15:19:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-file-txt/m-p/24623#M5571</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2011-03-08T15:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: PROC EXPORT file .txt</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-file-txt/m-p/24624#M5572</link>
      <description>&lt;P&gt;&lt;FONT face="helvetica"&gt;&lt;EM&gt;Editor’s Note: This is a popular topic. Thanks to &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt; for providing the solution below. The following SAS Note shows how to control variable names when using PROC EXPORT with a comma, tab or delimited file:&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="helvetica"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="helvetica"&gt;&lt;EM&gt;&lt;A href="http://support.sas.com/kb/41/735.html" target="_blank"&gt;Usage Note 41735&lt;/A&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi.&lt;BR /&gt; How about this:&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; [pre]&lt;BR /&gt; proc export data=sashelp.class outfile='c:\class.txt' dbms=tab replace;&lt;BR /&gt; putnames=no;&lt;BR /&gt; run;&lt;BR /&gt; [/pre]&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; Ksharp&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2016 14:31:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-file-txt/m-p/24624#M5572</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-12-19T14:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: PROC EXPORT file .txt</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-file-txt/m-p/24625#M5573</link>
      <description>The option putnames=no don't run.&lt;BR /&gt;
I read previous  forum posting.&lt;BR /&gt;
&lt;BR /&gt;
In the end I use &lt;BR /&gt;
&lt;BR /&gt;
data _null_;&lt;BR /&gt;
set db ;&lt;BR /&gt;
file "P:\Risk Management\MORTGAGE\.........";&lt;BR /&gt;
put (_all_) (:);run;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thanks !!</description>
      <pubDate>Wed, 09 Mar 2011 15:24:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-file-txt/m-p/24625#M5573</guid>
      <dc:creator>CMilena</dc:creator>
      <dc:date>2011-03-09T15:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: PROC EXPORT file .txt</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-file-txt/m-p/24626#M5574</link>
      <description>Do you test it by yourself.&lt;BR /&gt;
I test it successfully in my SAS 9.2&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ksharp</description>
      <pubDate>Thu, 10 Mar 2011 03:30:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-file-txt/m-p/24626#M5574</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2011-03-10T03:30:57Z</dc:date>
    </item>
  </channel>
</rss>

