Previous Topic: Execution Requirements for DL/I (z/VSE)Next Topic: Sample Reporting Facility JCL Streams


Execution Requirements for DL/I-ENTRY

The Reporting Facility program, with the DL/I interface, executes as a subprogram of DL/I-ENTRY, passing control to a standard entry point specified in the application program. You must link edit the application program with DL/I-ENTRY and the appropriate PSB.

The following sample job stream can be used to link and execute the Reporting Facility with DL/I-ENTRY:

 // JOB ...                  Link edit application program
 // OPTION CATAL
    PHASE username,*         Any valid phase name
     INCLUDE IS08XXXI
     INCLUDE IS08Z03G        Modules cataloged to
     INCLUDE IS08Z06B        the relocatable library
     INCLUDE IS08Z07I        during installation of
     INCLUDE IS08Z10B        RPT Facility
     INCLUDE IJIFAZRZ
     INCLUDE DRDLIMOD
     INCLUDE DQDNUCA         DL/I-ENTRY nucleus/interface module
     INCLUDE psbname         Name of PSB referenced by this program
     ENTRY DQENT
     LBLTYP NSD(n)
 // EXEC LNKEDT
 /&

After performing the above link-edit, execute the Reporting Facility as follows:

 // JOB ...
 .
 .                                Other required JCL statements
 .
 // EXEC phasename,SIZE=nnnk      Same phase name as on above link edit
 .
 .                                Reporting Facility program definition
 .                                statements,
 .                                Input file, if any
 .
 /*
 /&