JCL information

The JCLs are built starting from CBTESUB2 skeleton, which can be customized. The structure of the skeleton comprises a single part that is repeated once in the created JCLs, and is delimited by the following keywords:

//* UNLOAD ELABORATION and

//* UNLOAD END ELABORATION, by the keywords:

//* SINGLE FILE ELABORATION and

//* SINGLE FILE END ELABORATION and by the keywords:

//* DELETE ELABORATION and

//* DELETE END ELABORATION 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
&NAMEJOB

Name of the submitted job

&USER

User who is submitting the job

&URDB2

DB2 subsystem where the product is installed

&URPLAN

DB2 plan of the product

&URLOAD

DB2 load library

&URRUNLIB

DB2 runlib library

&URSRUN

sceerun library

&URPROJ.

First qualifier of the product libraries

&URGRPER.

Second qualifier of the product customization libraries

&URGRPTF.

Second qualifier of the product PTF libraries

&URGRGROUP.

Second qualifier of the product libraries

&NAMEPGM

Name of the first program of the batch chain

&TNSRLNBR

Input parameter

Machine
&TNCDSOC

Input parameter

Company
&TNMETHOD

Input parameter

Method
&TNGROUP

Input parameter

Group
&TNSTEP

Input parameter

From Step
&TNTOSTEP

Input parameter

To Step
&TNSIMUL

Input parameter

Simulation
&TNDISFIL

Input parameter

Discard Unchanged Fields
&TNRUNDEL

Input parameter

Run deletion
&TNRUNEXT

Input parameter

Run extraction
&DDNAME

DD name automatically generated by the product

&FILNAME

Name of the unload file generated from image copy

&LABEL

Progressive number

&RECL

Record length for the unload file generated from image copy

&UROWNER

DB2 owner of the product tables

&URPROJ

First qualifier of the product libraries

&URGROUP

Second qualifier of the product libraries

&IMGCPY

Image copy data set

&TYPE

Unload file generated from image copy

&OWNAME

Owner of the original table

&TBNAME

Name of the original table

&DBNAME

Name of the database of the original table

&TSNAME

Name of the tablespace of the original table

&PQTY

Primary quantity

&CYL TRK

(if the space is less than a cylinder) or

CYL
&SCYL

Secondary quantity

&URDPREFA

First part of the temporary data set names

&URDPREFB

Second part of the temporary data set names

&JOBN

It is actualized with the JCL name