The JCLs are built starting from the CBDGALS1 and CBDGALS2 skeletons, which can be customized.
The structure of the skeletons comprises a starting part and an 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 are then 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:
Variable | Description |
---|---|
&TYPE |
Name of the sequential data set (output of extraction process) |
&PCYL |
Primary quantity |
&LRECL |
Record length |
&UNIT |
SYSDA or the value put in the launch screen, depending on the above-described rules |
&CYL |
TRK if the space is less than a cylinder, or CYL otherwise |
&SCYL |
Secondary quantity |
&JOBN |
It is actualized with the JCL name |