Previous Topic: Sample Reporting Facility JCL StreamsNext Topic: z/VSE Requirements


z/OS Requirements

Multiple report generation (sort required):

Primary Mode

Note: Use the following as a guide to prepare your JCL. The JCL statements are for example only. Lowercase letters in a statement indicate a value you must supply. Code all statements to your site and installation standards.

 //jobname    See the note above and JCL Requirements.
 //       EXEC PGM=DRREPORT
 //STEPLIB    See the note above and JCL Requirements.
 //SYSPRINT  DD   SYSOUT=*
 //SYSOUT    DD   SYSOUT=*
 //DRWORK    DD   UNIT=SYSDA,SPACE=(TRK,10)
 //SORTLIB   DD   DSN=SYS1.SORTLIB,DISP=SHR
 //SORTIN    DD   DSN=&.&HITFILE.,DISP=(NEW,PASS),
 //               UNIT=SYSDA,SPACE=(CYL,2)
 //SORTOUT   DD   DSN=*.SORTIN,UNIT=SYSDA,SPACE=(CYL,2)
 //SORTWK01  DD   UNIT=SYSDA,SPACE=(CYL,2,,CONTIG)
 //SORTWK02  DD   UNIT=SYSDA,SPACE=(CYL,2,,CONTIG)
 //SORTWK03  DD   UNIT=SYSDA,SPACE=(CYL,2,,CONTIG)
 //SYSIN     DD   *
     .
     .                            Reporting Facility Source Commands
     .
 END
     .
     .                            Optional Input File
     .
 /*
 //

If a CALL command is present in the source input stream, insert this JCL:

 //DRLIB DD     DSN=dr.library.dsn,DISP=SHR

Single report generation (no sort allowed):

Secondary Mode

Note: Use the following as a guide to prepare your JCL. The JCL statements are for example only. Lowercase letters in a statement indicate a value you must supply. Code all statements to your site and installation standards.

 //jobname    See the note above and JCL Requirements.
 //       EXEC PGM=DRREPORT
 //STEPLIB    See the note above and JCL Requirements.
 //SYSPRINT DD   SYSOUT=*
 //SYSOUT   DD   SYSOUT=*
 //DRWORK   DD   UNIT=SYSDA,SPACE=(TRK,10)
 //SYSIN    DD   *
      .
      .                           Reporting Facility Source Commands
      .
   END
      .
      .                           Optional Input File
      .
 /*
 //

If a CALL command is present in the source input stream, insert this JCL:

 //DRLIB DD DSN=dr.library.dsn,DISP=SHR

Single output file creation (no sort allowed):

Write-Only Mode

Note: Use the following as a guide to prepare your JCL. The JCL statements are for example only. Lowercase letters in a statement indicate a value you must supply. Code all statements to your site and installation standards.

 //jobname    See the note above and JCL Requirements.
 //       EXEC PGM=DRREPORT
 //STEPLIB    See the note above and JCL Requirements.
 //SYSPRINT DD   SYSOUT=*
 //SYSOUT   DD   SYSOUT=*
 //DRWORK   DD   UNIT=SYSDA,SPACE=(TRK,10)
 //DROUT    DD   DSN=output.data.set,DISP=(NEW,CATLG),
 //              UNIT=SYSDA,SPACE=(TRK,10)
 //SYSIN    DD   *
      .
      .                           Reporting Facility Source Commands
      .
   END
      .
      .                           Optional Input File
      .
 /*
 //

If a CALL command is present in the source input stream, insert this JCL:

 //DRLIB      DD DSN=dr.library.dsn,DISP=SHR 1

Library Maintenance Mode

Note: Use the following as a guide to prepare your JCL.The JCL statements are for example only. Lowercase letters in a statement indicate a value you must supply. Code all statements to your site and installation standards.

 //jobname    See the note above and JCL Requirements.
 //       EXEC PGM=DRREPORT
 //STEPLIB    See the note above and JCL Requirements.
 //SYSPRINT DD   SYSOUT=*
 //SYSOUT   DD   SYSOUT=*
 //DRWORK   DD   UNIT=SYSDA,SPACE=(TRK,10)
 //DRLIB    DD   DSN=dr.library.dsn,DISP=OLD
 //SYSIN    DD   *
      .
      .                              Reporting Facility Library
      .
      .                              Maintenance Command Stream
   END
 /*
 //