Running a REPORT CALLLIBS job

When running a REPORT CALLLIBS job there is an option that instructs SMP/E to place a user created job card at the front of the output data set. The option (JOBCARD) requires a DDDEF that points to a PDS containing the job card. This DDDEF can be defined to SMP/E using the example job step shown in Figure 35.

Figure 35. Example SMP/E JOBCARD job step

//******************************************************************
//* DEFINE THE LOCATION TO SMP/E OF THE JOBCARD CALLLIBS IS TO
//* USE WHEN CREATING THE LINK-EDIT JOB.
//******************************************************************
//DEFJCARD  EXEC PGM=GIMSMP,REGION=4096K
//SMPCSI   DD DSN=your.csi,
//            DISP=SHR
//SYSPRINT DD SYSOUT=*
//SMPCNTL  DD *
  SET BDY(GLOBAL).
  UCLIN .
    REP DDDEF(MQJCARD)
        DA(job.card.data.set) SHR .
  ENDUCL .
/*

To run a REPORT CALLLIBS job we need to supply the following:

In the SMP/E commands we need to provide:

Figure 36 shows an example SMP/E job that can used as a basis for your own job.

Figure 36. Example SMP/E REPORT CALLLIBS job

//******************************************************************
//* RUN REPORT CALLLIBS.
//******************************************************************
//CALLLIBS  EXEC PGM=GIMSMP,REGION=4096K
//SMPCSI   DD DSN=your.csi,
//            DISP=SHR
//SMPPUNCH DD DSN=your.callibs.punched.output,
//            DISP=(MOD,CATLG),
//            UNIT=SYSDA,
//            DCB=(RECFM=FB,LRECL=80,BLKSIZE=8800),
//            SPACE=(8800,(10,2))
//SYSPRINT DD SYSOUT=*
//SMPCNTL  DD *
  SET BDY(GLOBAL).
  REPORT CALLLIBS(dddef)
  ZONES(target zone)
  JOBCARD(MQJCARD,jobcard member name).
/*