Previous Topic: APEC Startup ExamplesNext Topic: APEC Commands


JCL Considerations for CTS Started Task

When the NOUPDATE parameter is specified the TMSUPDTE, TMSUDSNB, and TMSAGGR DD statements must be added to the CTS started task. If the NOUPDATE parameter is used and the DDs are not found, the APEC subtask will not start. If the UPDATE parameter is used and the DDs are in the CTS started task, the APEC subtask will ignore the DDs. CA recommends that these data sets be defined as generation data sets to allow the output of each scan to saved separately. Define enough generations to temporarily retain at least all scans run in a single day. Do not write to these data sets using DISP=MOD processing. This will duplicate the transactions to fix the errors already given. The TMSRPT28 DD is required in both UPDATE and NOUPDATE mode.

The following DD statements are available:

TMSUPDTE

Creates a sequential data set which contains control statements for utility TMSUPDTE, used for initialization or correction of DSN17 and FLAG3 bit TMULTIF.

TMSUDSNB

Creates a sequential data set which contains control statements for utility TMSUDSNB, used for the initialization of field DSNBFVSN.

TMSAGGR

Creates a sequential data set which contains control statements for utility TMSAGGR to put unchained DSNB records back to the DSNB free chain.

TMSRPT28

Required to print the APEC log.

Example:

//TMSUPDTE DD DSN=tmsupdte.control.statements(+1),
//         DISP=(NEW,CATLG,DELETE),SPACE=(space),
//         DCB=BLKSIZE=n*80,UNIT=unit              Note
//TMSUDSNB DD DSN=tmsudsnb.control.statements(+1),
//         DISP=(NEW,CATLG,DELETE),SPACE=(space),
//         DCB=BLKSIZE=n*80,UNIT=unit              Note
//TMSAGGR  DD DSN=tmsaggr.control.statements(+1),
//         DISP=(NEW,CATLG,DELETE),SPACE=(space),
//         DCB=BLKSIZE=n*80,UNIT=unit              Note
//TMSRPT28 DD SYSOUT=*

Note: The BLKSIZE can be any multiple of the LRECL(80). Additional JCL updates may be needed to meet your site's installation standards. A large number of control cards can be generated if the NOUPDATE option is used and this is the first time that TMSAPEC has been run.