Coding JCL for the Solution utility
The following figure shows sample JCL for the Solution utility.
Sample JCL is located in member BRIUBSOL of the product sample library.
//BRIUBSOL EXEC PGM=BRIUBSOL
//STEPLIB DD DISP=SHR,DSN=cpc.options.library
// DD DISP=SHR,DSN=bmc.load.library
//SYSUDUMP DD SYSOUT=*
//LIST DD SYSOUT=*
//SOLOUT DD SYSOUT=*
//GENJCL DD DISP=(NEW,CATLG,DELETE),UNIT=SYSDA,
// DCB=(LRECL=80,RECFM=FB,BLKSIZE=3120),
// DSN=OUTPUT.FROM.BRIUBSOL,SPACE=(CYL,(10,5))
//SOLVE DD *
* The USE command and the RECON keyword are required.
USE RECON=recon.data.set.name
*
* At least one DB or RSRC command is required.
* You can code multiple DB and RSRC commands.
*
DB +
* If you code the DB command, the following keywords are optional:
DBD=dbdname or mask | DBGROUP=dbgroupname +
AREA=areaname or mask | PART=partname or mask
NOWARN +
ONLYNEW +
LIST
*
RSRC +
* If you code the RSRC command, the following keywords are optional
* (the NAME keyword is not allowed if TYPE=RCON):
TYPE=CA | LOG | RCON +
NAME=change accum group | log subsystem name | mask +
NOWARN +
ONLYNEW +
LIST
The following table lists DD statements that are used for the Solution utility.
DD statement | Description |
---|---|
STEPLIB DD | (Required) In the STEPLIB concatenation, include the library that contains your Cross Product Connectivity (CPC) options module and the library that contains the BMC product load modules. APF authorization is not required. |
SYSUDUMP DD | (Optional) Specify a SYSOUT data set to contain diagnostic information that can be written if a failure occurs. |
LIST DD | (Optional) Specify a SYSOUT data set to contain control statement processing information. If you omit this statement, the utility dynamically generates it. |
SOLOUT DD | (Optional) Specify a SYSOUT data set to contain the solution processing report. If you specify the LIST control statement keyword, the SOLOUT statement also contains a list of the GENJCL output that was produced. If you omit this statement, the utility dynamically generates it. |
GENJCL DD | (Required) This statement must specify an output file with a logical record length (LRECL) of 80 or a SYSOUT data set. This output file contains GENJCL statements that are written by the Solution utility and that are used as input to the JCL Generation utility (CPCBATCH). |
SOLVE DD | (Required) This statement contains the utility control statements that you specify to tell the utility how to process exceptions and create solutions. |
Related topic