<?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: ASCII Question ASAP in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ASCII-Question-ASAP/m-p/129240#M10712</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Cynthia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used it but the problem is it is printing the End of Report in next page.I have a page break on Break after Variable / PAGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is going to the next page printing the headers and then printing the end of report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It should print in the same page.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 May 2013 03:52:53 GMT</pubDate>
    <dc:creator>JasonNC</dc:creator>
    <dc:date>2013-05-06T03:52:53Z</dc:date>
    <item>
      <title>ASCII Question ASAP</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ASCII-Question-ASAP/m-p/129233#M10705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using Proc Report and generating an ASCII file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Previously when generating PDF files i used options like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;compute Address /character length=250&lt;/P&gt;&lt;P&gt; ADDRESS=trim(left( ADDR1))||"~{newline}" ||trim(left( ADDR2))&lt;/P&gt;&lt;P&gt;||"~{newline}" || trim(left( add3)) ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So when it prints&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Address&lt;/P&gt;&lt;P&gt;Addr1&lt;/P&gt;&lt;P&gt;Addr2&lt;/P&gt;&lt;P&gt;Addr3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the {newline} option is not working for ASCii Files.Is there any option for splitting it in ASCII&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Previously i was using ODS PDF TEXT="end of report" ASA option but this will not work for ASCII.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other option like this which i can use to print in the end of the report.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 May 2013 16:18:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ASCII-Question-ASAP/m-p/129233#M10705</guid>
      <dc:creator>JasonNC</dc:creator>
      <dc:date>2013-05-03T16:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: ASCII Question ASAP</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ASCII-Question-ASAP/m-p/129234#M10706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Set a SPLIT character?&lt;/P&gt;&lt;P&gt;proc report ... SPLIT='|' ... ;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;compute Address /character length=250&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;ADDRESS=trim(left( ADDR1))||"|" ||trim(left( ADDR2))&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;||"|" || trim(left( add3)) ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 May 2013 16:43:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ASCII-Question-ASAP/m-p/129234#M10706</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2013-05-03T16:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: ASCII Question ASAP</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ASCII-Question-ASAP/m-p/129235#M10707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; The SPLIT option by default splits the column headers on the report. If you are using the LISTING destination, then you can add FLOW to the DEFINE statement to make the SPLIT character work within a data value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; But the OP didn't say they were using ODS LISTING to make an ASCII text file. For example, a CSV file, an HTML file and an XML file are all ASCII text files. The ODS LISTING destination can also be used to make an ASCII text file. So, depending on the ODS destination that the OP is using, the SPLIT with FLOW may or may not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 May 2013 19:55:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ASCII-Question-ASAP/m-p/129235#M10707</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2013-05-03T19:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: ASCII Question ASAP</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ASCII-Question-ASAP/m-p/129236#M10708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Cynthia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using ODS LISTING DESTINATION = Report.asc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 May 2013 22:01:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ASCII-Question-ASAP/m-p/129236#M10708</guid>
      <dc:creator>JasonNC</dc:creator>
      <dc:date>2013-05-03T22:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: ASCII Question ASAP</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ASCII-Question-ASAP/m-p/129237#M10709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; Well, I was able to make it work with ODS LISTING using WIDTH and FLOW. See the attached screen shot and the difference between NEWVAR and NEWVAR2, where the SPLIT character is used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;data class;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; set sashelp.class;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; length newvar $60;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; newvar=catx('*',name,sex,put(age,2.0));&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;options ls=180;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods listing file='c:\temp\report.asc';&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;proc report data=class nowd split='*' nocenter ls=100;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; column name age sex newvar newvar2 height weight;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; define newvar / width=12 flow;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; define newvar2 / computed width=15 flow;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; compute newvar2 / character length=60;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; newvar2= trim(name)||' ~ '||trim(sex)||'*'||left(put(age.sum,2.0));&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; endcomp;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/10972i09D38D715A476AED/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="pix_report_asc.png" title="pix_report_asc.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 May 2013 22:20:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ASCII-Question-ASAP/m-p/129237#M10709</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2013-05-03T22:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: ASCII Question ASAP</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ASCII-Question-ASAP/m-p/129238#M10710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Cynthia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The flow option worked .Thanks!!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more question&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For PDF we have an option to print&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODS PDF TEXT=****END OF REPORT ****&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any option like this for ASCII files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to print it in the last page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will appreciate your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2013 02:33:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ASCII-Question-ASAP/m-p/129238#M10710</guid>
      <dc:creator>JasonNC</dc:creator>
      <dc:date>2013-05-06T02:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: ASCII Question ASAP</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ASCII-Question-ASAP/m-p/129239#M10711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; Put this COMPUTE block in your PROC REPORT code. It will only be written at the end of the report. ODS TEXT does not work for the LISTING destination.&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; compute after;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; line '*** End of Report ***';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; endcomp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2013 03:37:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ASCII-Question-ASAP/m-p/129239#M10711</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2013-05-06T03:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: ASCII Question ASAP</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ASCII-Question-ASAP/m-p/129240#M10712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Cynthia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used it but the problem is it is printing the End of Report in next page.I have a page break on Break after Variable / PAGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is going to the next page printing the headers and then printing the end of report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It should print in the same page.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2013 03:52:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ASCII-Question-ASAP/m-p/129240#M10712</guid>
      <dc:creator>JasonNC</dc:creator>
      <dc:date>2013-05-06T03:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: ASCII Question ASAP</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ASCII-Question-ASAP/m-p/129241#M10713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Cynthia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got it.Thanks for the help with Width and flow option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used Macro Variable and compute block to print it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2013 23:22:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ASCII-Question-ASAP/m-p/129241#M10713</guid>
      <dc:creator>JasonNC</dc:creator>
      <dc:date>2013-05-06T23:22:38Z</dc:date>
    </item>
  </channel>
</rss>

