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.
//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)
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.