<?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 for Mainframe files in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-for-Mainframe-files/m-p/46895#M6117</link>
    <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I am trying to use the ODS syatem to print the data into a mainframe flat file but seems it's not working. Please see if you can help me out.&lt;BR /&gt;
&lt;BR /&gt;
Here is my code..&lt;BR /&gt;
&lt;BR /&gt;
ODS PS FILE=OUTPUT2;                                       &lt;BR /&gt;
PROC PRINT DATA=WORK.RPTFLE U ROUND NOOBS LABEL SPLIT="*"; &lt;BR /&gt;
WHERE &lt;CONDITION&gt;;&lt;BR /&gt;
VAR A B C....;&lt;BR /&gt;
SUM A;&lt;BR /&gt;
BY B;&lt;BR /&gt;
&lt;BR /&gt;
TITLE 'ABC';&lt;BR /&gt;
ODS PS CLOSE;&lt;BR /&gt;
RUN;&lt;BR /&gt;
&lt;BR /&gt;
-------------&lt;BR /&gt;
OUTPUT2 = DD FOR THE FLAT FILE WHICH HAS BEEN ALREADY DEFINED    &lt;BR /&gt;
&lt;BR /&gt;
I am not sure if file type = PS is correct one for the mailframe files or not. please advice.&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;/CONDITION&gt;</description>
    <pubDate>Tue, 26 Jan 2010 14:01:10 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2010-01-26T14:01:10Z</dc:date>
    <item>
      <title>ODS for Mainframe files</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-for-Mainframe-files/m-p/46895#M6117</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I am trying to use the ODS syatem to print the data into a mainframe flat file but seems it's not working. Please see if you can help me out.&lt;BR /&gt;
&lt;BR /&gt;
Here is my code..&lt;BR /&gt;
&lt;BR /&gt;
ODS PS FILE=OUTPUT2;                                       &lt;BR /&gt;
PROC PRINT DATA=WORK.RPTFLE U ROUND NOOBS LABEL SPLIT="*"; &lt;BR /&gt;
WHERE &lt;CONDITION&gt;;&lt;BR /&gt;
VAR A B C....;&lt;BR /&gt;
SUM A;&lt;BR /&gt;
BY B;&lt;BR /&gt;
&lt;BR /&gt;
TITLE 'ABC';&lt;BR /&gt;
ODS PS CLOSE;&lt;BR /&gt;
RUN;&lt;BR /&gt;
&lt;BR /&gt;
-------------&lt;BR /&gt;
OUTPUT2 = DD FOR THE FLAT FILE WHICH HAS BEEN ALREADY DEFINED    &lt;BR /&gt;
&lt;BR /&gt;
I am not sure if file type = PS is correct one for the mailframe files or not. please advice.&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;/CONDITION&gt;</description>
      <pubDate>Tue, 26 Jan 2010 14:01:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-for-Mainframe-files/m-p/46895#M6117</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-01-26T14:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: ODS for Mainframe files</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-for-Mainframe-files/m-p/46896#M6118</link>
      <description>Tell us what you want to do with the output file, once generated?  Also, you did not share the FILENAME OUTPUT2 ...;    statement which is most important.&lt;BR /&gt;
&lt;BR /&gt;
I would suggest you try ODS LISTING, not "PS" if you just want a text-formatted data file for your procedure output.&lt;BR /&gt;
&lt;BR /&gt;
Also, you will want to refer to the SAS z/OS (MVS - IBM mainframe) companion documentation.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
Recommended Google advanced search for this topic/post:&lt;BR /&gt;
&lt;BR /&gt;
sas z/os companion site:sas.com</description>
      <pubDate>Tue, 26 Jan 2010 14:42:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-for-Mainframe-files/m-p/46896#M6118</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-01-26T14:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: ODS for Mainframe files</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-for-Mainframe-files/m-p/46897#M6119</link>
      <description>Scott is correct -- if you want the "standard" output from SAS on the mainframe, then ODS LISTING is automatically on. You don't (or should not) need any addition ODS statements to have your output go to standard LISTING output.&lt;BR /&gt;
&lt;BR /&gt;
ODS PS is the destination for creating PostScript files. It might not be an appropriate destination for the mainframe, depending on how you direct output to your printers with JCL and whether your printers are PostScript printers or not.&lt;BR /&gt;
&lt;BR /&gt;
This document has a lot of good information:&lt;BR /&gt;
&lt;A href="http://support.sas.com/rnd/base/ods/templateFAQ/MVSODS3.pdf" target="_blank"&gt;http://support.sas.com/rnd/base/ods/templateFAQ/MVSODS3.pdf&lt;/A&gt;&lt;BR /&gt;
 ... on how to use ODS on the mainframe -- with specific allocation and JCL examples.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Tue, 26 Jan 2010 16:39:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-for-Mainframe-files/m-p/46897#M6119</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-01-26T16:39:30Z</dc:date>
    </item>
  </channel>
</rss>

