<?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: EXPORT in sas in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/EXPORT-in-sas/m-p/295325#M20171</link>
    <description>&lt;P&gt;A dataset without headers is like a city without streetnames: How do you know where you are?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Export is intended for data interchange and will provide either a label or a variable name for each column of output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;IF you really must do this then you can use a Data step and a&amp;nbsp;PUT statement to write values:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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:\path\class.txt"; /* you may need to set LRECL to a value large enought to take all of your data in one row*/&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; put&amp;nbsp;@1 Name @11 Sex &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/30987"&gt;@11&lt;/a&gt; Sex @21 Age &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/78374"&gt;@21&lt;/a&gt; Age @31 Height &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/75709"&gt;@31&lt;/a&gt; Height @42 weight;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/73381"&gt;@42&lt;/a&gt; weight;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;would create a fixed column file with each column starting in the position indicated by @.&lt;/P&gt;
&lt;P&gt;Other approaches would be to create CSV by putting commas between values, or tabs&lt;/P&gt;</description>
    <pubDate>Tue, 30 Aug 2016 20:54:31 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2016-08-30T20:54:31Z</dc:date>
    <item>
      <title>EXPORT in sas</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/EXPORT-in-sas/m-p/295247#M20166</link>
      <description>&lt;P&gt;Can u exoprt a data set without header in SAS EG?.If So,How?&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2016 16:29:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/EXPORT-in-sas/m-p/295247#M20166</guid>
      <dc:creator>Swapnasis</dc:creator>
      <dc:date>2016-08-30T16:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: EXPORT in sas</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/EXPORT-in-sas/m-p/295258#M20167</link>
      <description>&lt;P&gt;Can you be more specific what do you mean when you say export dataset.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it exporting flat file or is this any other file format?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the code to import csv file without any header. You can do same thing through an EG task&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc import datafile="C:\temp\test.csv"
     out=shoes
     dbms=csv
     replace;
     getnames=no;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 30 Aug 2016 17:12:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/EXPORT-in-sas/m-p/295258#M20167</guid>
      <dc:creator>RahulG</dc:creator>
      <dc:date>2016-08-30T17:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: EXPORT in sas</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/EXPORT-in-sas/m-p/295325#M20171</link>
      <description>&lt;P&gt;A dataset without headers is like a city without streetnames: How do you know where you are?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Export is intended for data interchange and will provide either a label or a variable name for each column of output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;IF you really must do this then you can use a Data step and a&amp;nbsp;PUT statement to write values:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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:\path\class.txt"; /* you may need to set LRECL to a value large enought to take all of your data in one row*/&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; put&amp;nbsp;@1 Name @11 Sex &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/30987"&gt;@11&lt;/a&gt; Sex @21 Age &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/78374"&gt;@21&lt;/a&gt; Age @31 Height &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/75709"&gt;@31&lt;/a&gt; Height @42 weight;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/73381"&gt;@42&lt;/a&gt; weight;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;would create a fixed column file with each column starting in the position indicated by @.&lt;/P&gt;
&lt;P&gt;Other approaches would be to create CSV by putting commas between values, or tabs&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2016 20:54:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/EXPORT-in-sas/m-p/295325#M20171</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-08-30T20:54:31Z</dc:date>
    </item>
  </channel>
</rss>

