<?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 PRN Format in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PRN-Format/m-p/39892#M4812</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I usually see that behavior when opening text files generated on Unix.&amp;nbsp; Unix uses just a LineFeed ('0A'x) as the end of line indicator, while DOS (Windows) uses a CarriageReturn ('0D'x) and LineFeed at the end of each line.&amp;nbsp; WordPad is smart enough to intrepret the lines that end only in a LF but Notepad is not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can force SAS to write the CR into the end of the lines by adding the TERMSTR=CRLF option to your FILE statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Jan 2012 12:18:32 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2012-01-27T12:18:32Z</dc:date>
    <item>
      <title>PRN Format</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PRN-Format/m-p/39891#M4811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am generating .prn fromat form sas using this code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA NULL;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; FILE "path /sample.prn"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET&amp;nbsp; datasetname;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;put&amp;nbsp; JOB_CODE $2.&amp;nbsp; YEAR_MONTH $6. '&amp;nbsp; ' BRANCH_CODE $7. ITEM_CODE 3. NO_OF_ACCOUNT_OTHERS zeros.&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are diffent formats applied&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while opening .prn in word pad i am able to get result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when iam opening it in notepad i am unable to get result in each line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as second line of result is comming in first line of .txt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly look into issue and help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2012 10:36:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/PRN-Format/m-p/39891#M4811</guid>
      <dc:creator>RameshReddy</dc:creator>
      <dc:date>2012-01-27T10:36:51Z</dc:date>
    </item>
    <item>
      <title>PRN Format</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PRN-Format/m-p/39892#M4812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I usually see that behavior when opening text files generated on Unix.&amp;nbsp; Unix uses just a LineFeed ('0A'x) as the end of line indicator, while DOS (Windows) uses a CarriageReturn ('0D'x) and LineFeed at the end of each line.&amp;nbsp; WordPad is smart enough to intrepret the lines that end only in a LF but Notepad is not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can force SAS to write the CR into the end of the lines by adding the TERMSTR=CRLF option to your FILE statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2012 12:18:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/PRN-Format/m-p/39892#M4812</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2012-01-27T12:18:32Z</dc:date>
    </item>
  </channel>
</rss>

