<?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 ODS LISTING - output file in ASCII format in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-LISTING-output-file-in-ASCII-format/m-p/60865#M7249</link>
    <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I am using SAS on mainframe (z/OS) and I am creating a excel file using xml. All is going well however since the file being created is in EBCDIC format (format used on mainframes), when I download the file on to my Windows desktop (not FTP, download via website), the file is all messed up (contains only symbols) because of the difference in file format. Ofcourse it works fine when I use FTP to download as FTP takes care of the conversion.&lt;BR /&gt;
&lt;BR /&gt;
My question is:&lt;BR /&gt;
. I am using SAS 8.2 (we are due to get upgraded to SAS 9 soon but for now, I have to work in SAS 8.2) and because of the client's requirement for the Excel report, I had to manually code the excel report in xml because there is no other way to create a excel report in SAS 8.2 containing multiple worksheets and column filters.&lt;BR /&gt;
&lt;BR /&gt;
. Throughout the program, I am only using ODS listing - no other ODS. How can I possibly create the output file in ASCII format?&lt;BR /&gt;
&lt;BR /&gt;
For example, if I was using ODS html, I could have said something like:&lt;BR /&gt;
ODS listing close;&lt;BR /&gt;
ODS html body='/htmlFiles/temp.html' TRANTAB=ASCII;&lt;BR /&gt;
&lt;BR /&gt;
However, in this case, as I mentioned, I am not using any other ODS option other than the default ODS listing. Can I have something similar for ODS listing? Such as:&lt;BR /&gt;
&lt;BR /&gt;
ODS listing body='/excelReport/theReport.xls' TRANTAB=ASCII;</description>
    <pubDate>Mon, 10 Jan 2011 19:22:28 GMT</pubDate>
    <dc:creator>mkhan2010</dc:creator>
    <dc:date>2011-01-10T19:22:28Z</dc:date>
    <item>
      <title>ODS LISTING - output file in ASCII format</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-LISTING-output-file-in-ASCII-format/m-p/60865#M7249</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I am using SAS on mainframe (z/OS) and I am creating a excel file using xml. All is going well however since the file being created is in EBCDIC format (format used on mainframes), when I download the file on to my Windows desktop (not FTP, download via website), the file is all messed up (contains only symbols) because of the difference in file format. Ofcourse it works fine when I use FTP to download as FTP takes care of the conversion.&lt;BR /&gt;
&lt;BR /&gt;
My question is:&lt;BR /&gt;
. I am using SAS 8.2 (we are due to get upgraded to SAS 9 soon but for now, I have to work in SAS 8.2) and because of the client's requirement for the Excel report, I had to manually code the excel report in xml because there is no other way to create a excel report in SAS 8.2 containing multiple worksheets and column filters.&lt;BR /&gt;
&lt;BR /&gt;
. Throughout the program, I am only using ODS listing - no other ODS. How can I possibly create the output file in ASCII format?&lt;BR /&gt;
&lt;BR /&gt;
For example, if I was using ODS html, I could have said something like:&lt;BR /&gt;
ODS listing close;&lt;BR /&gt;
ODS html body='/htmlFiles/temp.html' TRANTAB=ASCII;&lt;BR /&gt;
&lt;BR /&gt;
However, in this case, as I mentioned, I am not using any other ODS option other than the default ODS listing. Can I have something similar for ODS listing? Such as:&lt;BR /&gt;
&lt;BR /&gt;
ODS listing body='/excelReport/theReport.xls' TRANTAB=ASCII;</description>
      <pubDate>Mon, 10 Jan 2011 19:22:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-LISTING-output-file-in-ASCII-format/m-p/60865#M7249</guid>
      <dc:creator>mkhan2010</dc:creator>
      <dc:date>2011-01-10T19:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: ODS LISTING - output file in ASCII format</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-LISTING-output-file-in-ASCII-format/m-p/60866#M7250</link>
      <description>Hi:&lt;BR /&gt;
  I don't think ODS LISTING supports the TRANTAB option, but there are other NLS options that may apply. You might want to work with Tech Support on this question, as they actually have mainframe computers on which to test code.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Mon, 10 Jan 2011 20:39:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-LISTING-output-file-in-ASCII-format/m-p/60866#M7250</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2011-01-10T20:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: ODS LISTING - output file in ASCII format</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-LISTING-output-file-in-ASCII-format/m-p/60867#M7251</link>
      <description>Hi.&lt;BR /&gt;
What does your code look like?&lt;BR /&gt;
I remember there is an dataset option ' encoding=' which can help you.&lt;BR /&gt;
Or Find some system options like it.&lt;BR /&gt;
&lt;BR /&gt;
Ksharp</description>
      <pubDate>Tue, 11 Jan 2011 08:46:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-LISTING-output-file-in-ASCII-format/m-p/60867#M7251</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2011-01-11T08:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: ODS LISTING - output file in ASCII format</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-LISTING-output-file-in-ASCII-format/m-p/60868#M7252</link>
      <description>Ksharp is right. Have been doing this for the last seven years or so. ENCODING works just fine.&lt;BR /&gt;
&lt;BR /&gt;
If memory serves me right that has to be something like&lt;BR /&gt;
[pre]&lt;BR /&gt;
ods html file='your_file_name' encoding='OPEN_ED-1047' ;&lt;BR /&gt;
[/pre]</description>
      <pubDate>Wed, 12 Jan 2011 06:09:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-LISTING-output-file-in-ASCII-format/m-p/60868#M7252</guid>
      <dc:creator>Robert_Bardos</dc:creator>
      <dc:date>2011-01-12T06:09:28Z</dc:date>
    </item>
  </channel>
</rss>

