<?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: Output SAS dataset to text file in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Output-SAS-dataset-to-text-file/m-p/349781#M81223</link>
    <description>&lt;P&gt;Please show the code you are using to read the data back in. I suspect the issue is going to be with either a missing or incorrect infile option or possible an extra option that is not needed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may need to provide a tad more detail than "goofy" and some example data from your Set Data; statement may help as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also which operating system are you running?&lt;/P&gt;
&lt;P&gt;With windows your file statment generates this error:&lt;/P&gt;
&lt;PRE&gt;ERROR: A component of D:\Data\WORK\SAS Temporary Files\_TD9908\file:\output is not a directory.

&lt;/PRE&gt;
&lt;P&gt;likely from the FILE: bit.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Apr 2017 15:36:46 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2017-04-13T15:36:46Z</dc:date>
    <item>
      <title>Output SAS dataset to text file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Output-SAS-dataset-to-text-file/m-p/349777#M81220</link>
      <description>&lt;P&gt;I've written simple code to output a SAS dataset to a txt file. When I read the file back into SAS, there are incremental (mostly blank) records being added, from what I think are "goofy" characters that I can't see. How do I get SAS to ignore these characters when outputting the file?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Output code:&amp;nbsp;&lt;/P&gt;&lt;P&gt;DATA _NULL_;&lt;BR /&gt;FILE "file:\output" delimiter='09'x DSD lrecl=60;&lt;BR /&gt;SET DATA;&lt;/P&gt;&lt;P&gt;PUT&lt;BR /&gt;@1 VAR1&amp;nbsp;$40.&lt;BR /&gt;@41 VAR2&amp;nbsp;10.&lt;BR /&gt;@51 VAR3&amp;nbsp;10.&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 15:08:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Output-SAS-dataset-to-text-file/m-p/349777#M81220</guid>
      <dc:creator>mndatagirl</dc:creator>
      <dc:date>2017-04-13T15:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: Output SAS dataset to text file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Output-SAS-dataset-to-text-file/m-p/349781#M81223</link>
      <description>&lt;P&gt;Please show the code you are using to read the data back in. I suspect the issue is going to be with either a missing or incorrect infile option or possible an extra option that is not needed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may need to provide a tad more detail than "goofy" and some example data from your Set Data; statement may help as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also which operating system are you running?&lt;/P&gt;
&lt;P&gt;With windows your file statment generates this error:&lt;/P&gt;
&lt;PRE&gt;ERROR: A component of D:\Data\WORK\SAS Temporary Files\_TD9908\file:\output is not a directory.

&lt;/PRE&gt;
&lt;P&gt;likely from the FILE: bit.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 15:36:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Output-SAS-dataset-to-text-file/m-p/349781#M81223</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-04-13T15:36:46Z</dc:date>
    </item>
  </channel>
</rss>

