File maintenance utility JCL

A file maintenance utility job step requires the following statements in the JCL:

The JCL in Figure 13 shows a sample job to run the file maintenance utility.

Figure 13. Sample JCL to run the file maintenance utility
//CBKFMU EXEC PGM=CBKFMAIN,PARM='APPLID(CICSPROD)'
//STEPLIB  DD DISP=SHR,DSN=hlq.SCBKLOAD
//         DD DISP=SHR,DSN=hlq.SDFHEXCI
//CBKPARMS DD DISP=SHR,DSN=hlq.CBKPARMS
//CBKPRINT DD SYSOUT=*
//SYSABEND DD SYSOUT=*
//*****************************************************************
//* Un-comment the following DD statement if you need to add a     
//* SYSMDUMP DD statement. You might need to modify this statement 
//* to meet your installation's requirements.                      
//*****************************************************************
//*SYSMDUMP DD DISP=(,CATLG),DSN=hlq.sysmdump.dataset,
//* UNIT=SYSDA,SPACE=(CYL,(50,25)),
//* DCB=(DSORG=PS,RECFM=FBS,LRECL=4160,
//* BLKSIZE=24960 //CBKPRINT DD SYSOUT=*
//CBKIN DD *
ADD FILE(FILEA),RLSOPTIONS(TERMINATE),RLSRETCODE(12)
Notes:
  1. Change the characters hlq to the high-level qualifiers for these data sets:
    • SCBKLOAD is the name of the CICS BAC load library
    • SDFHEXCI is the name of the CICS TS EXCI load library
    • CBKPARMS is the name of your CICS BAC parmlib.
  2. Also change hlq.sysmdump.dataset to the name of your own dump data set.
  3. If you put the CBKCFTBL member and the optional CBKMAINT parameter member in the MVS logical parmlib concatenation, authorize the batch request utility to have READ access to all the data sets in the MVS logical parmlib concatenation.
  4. See The CBKPARMS data set for information about defining the CBKPARMS data set.

There is some sample JCL for a file maintenance utility job shown in member CBKFMJCL, which you can find in the SCBKSAMP library. You can copy this and modify it for your own use.