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:
- The data set names of SMP/E CSI that contains WebSphere MQ for z/OS
- The data set into which the linkedit job is to be placed
In the SMP/E commands we need to provide:
- The DDDEFs of the products that have been upgraded or updated (see Table 79 and Table 80 for a list of possible DDDEFs)
- The DDDEF of the PDS containing the JOBCARD (MQJCARD in the example below)
- The name of the member containing the JOBCARD
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). /*