JCL information

The JCLs are built starting from CBTUNLD1 skeleton, which can be customized. The CBTUNLD2 skeleton is an alternative skeleton where the UNLOAD utility is used instead of the DSNTIAUL utility.

The structure of the skeleton 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 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:

Variable Description
&NUM

Numeric progressive

&UNLOUTNAM

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

It can be TRK (if the space is less than a cylinder) or CYL

&SCYL

Secondary quantity

&OWNAME

Owner of the original table

&FILNAME

Name of the original table

&DBNAME

Database of the original table

&TSNAME

Tablespace of the original table

&UNLINPNAM

The unload name as it can be seen in "Work with files"

&STEP

The step name (automatically generated)

&JOBN

It is actualized with the JCL name