JCL requirements for the Build IDCAMS control statements tool
The following table lists batch JCL statements for the Build IDCAMS control statements tool.
Statement | Description |
|---|---|
EXEC | Specify PGM=CPCBATCH. |
STEPLIB | Identify the library that contains the CPC load modules. |
CPCSYSIN | Define the data set that contains control statements for commands and keywords that execute CPC batch functions. |
CPCLOG | (optional) Specify the output data set to contain the CPC message log. |
SYSPRINT | (optional) Specify the output data set to contain the DRAMS utility report. |
The following figure shows sample batch JCL for the build IDCAMS control statements tool.
//DELDEF1 EXEC PGM=CPCBATCH,TIME=1439
//STEPLIB DD DISP=SHR,DSN=bmc.load.library
//DLFILE DD DISP=SHR,DSN=YOUR.DELETE.STATEMENT.SAVE
//DFFILE DD DISP=SHR,DSN=YOUR.DEFINE.STATEMENT.SAVE
//CPCSYSIN DD *
DELDEFN -
RECON_DSN(YOUR.RECON1) -
DBGROUP(DELDEFNGRP) -
DELFILE(DLFILE) -
DEFNFILE(DFFILE)
/*
//STEPLIB DD DISP=SHR,DSN=bmc.load.library
//DLFILE DD DISP=SHR,DSN=YOUR.DELETE.STATEMENT.SAVE
//DFFILE DD DISP=SHR,DSN=YOUR.DEFINE.STATEMENT.SAVE
//CPCSYSIN DD *
DELDEFN -
RECON_DSN(YOUR.RECON1) -
DBGROUP(DELDEFNGRP) -
DELFILE(DLFILE) -
DEFNFILE(DFFILE)
/*
Related topic
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*