<?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: Add header to export in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Add-header-to-export/m-p/783322#M249745</link>
    <description>&lt;P&gt;Insert the following code between FILE and PUT:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;if _n_ = 1 then do;
  put "This is a header row";
end;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Dec 2021 06:58:59 GMT</pubDate>
    <dc:creator>andreas_lds</dc:creator>
    <dc:date>2021-12-01T06:58:59Z</dc:date>
    <item>
      <title>Add header to export</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Add-header-to-export/m-p/783320#M249743</link>
      <description />
      <pubDate>Wed, 01 Dec 2021 06:36:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Add-header-to-export/m-p/783320#M249743</guid>
      <dc:creator>PROCDATARUN</dc:creator>
      <dc:date>2021-12-01T06:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Add header to export</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Add-header-to-export/m-p/783321#M249744</link>
      <description>&lt;P&gt;How do I add the header row to the following export code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data _null_;&lt;BR /&gt;set WORK.Output ;&lt;BR /&gt;file '/sasd/cs/sasd/John/WORK.Output.csv' dsd ;&lt;BR /&gt;put (_all_) (+0);&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 06:38:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Add-header-to-export/m-p/783321#M249744</guid>
      <dc:creator>PROCDATARUN</dc:creator>
      <dc:date>2021-12-01T06:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: Add header to export</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Add-header-to-export/m-p/783322#M249745</link>
      <description>&lt;P&gt;Insert the following code between FILE and PUT:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;if _n_ = 1 then do;
  put "This is a header row";
end;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 06:58:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Add-header-to-export/m-p/783322#M249745</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2021-12-01T06:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: Add header to export</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Add-header-to-export/m-p/783412#M249782</link>
      <description>&lt;P&gt;And just in case:&lt;/P&gt;
&lt;LI-CODE lang="sas"&gt;if _n_ = 1 then do;
  put "This is a header row";
  put "and this is a second header row";
  put "example of third header row";
  /* repeat as needed */
end;&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 01 Dec 2021 16:22:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Add-header-to-export/m-p/783412#M249782</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-12-01T16:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Add header to export</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Add-header-to-export/m-p/783598#M249897</link>
      <description>Why not :&lt;BR /&gt;&lt;BR /&gt;proc export data=...... outfile=.......   LABEL;&lt;BR /&gt;.............</description>
      <pubDate>Thu, 02 Dec 2021 12:51:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Add-header-to-export/m-p/783598#M249897</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-12-02T12:51:16Z</dc:date>
    </item>
  </channel>
</rss>

