The JCLs are built starting from CBDGLOD1 and CBDGLOD2 skeletons, which can be customized. The CBDUNLD2 skeleton is an alternative skeleton where the UNLOAD utility is used instead of the DSNTIAUL utility in order to create SYSPUNCHs.
The structure of the skeleton comprises a starting and ending part that are repeated once in the created JCLs, and a central part that is delimited by the following keywords:
//* SINGLE FILE ELABORATION and
//* SINGLE FILE END ELABORATION, that is repeated for each file.
In the skeleton some variables are used, and they are changed into the JCL values using the values stored in the Knowledge Base or included in the launch parameters.
The following table describes the used variables:
Name of the sequential data set (output of extraction process)
Owner of the original table
Name of the original table
Database name of the original table
Tablespace name of the original table
Name of the unload as specified in the Work with files area
Step name for the SYSPUNCH generation (automatically generated)
|&STP1||Step name for the MISYSPUN program call (automatically generated)|
Name of the reload step (automatically generated)
It can be ADD,YES,number of sortkeys
if no replace parameter, REP,YES,number of sortkeys
if replace parameter
Name of the input DSN
Name of the code
Name of the job actualized with the JCL name