BTSAISR0 JCL requirements

The JCL for the BTSAISR0 module, which calls IMS Batch Terminal Simulator to process the extracted data by DLI ISRT calls, must satisfy certain JCL requirements.

JCL statements

The following list summarizes the JCL statements for BTSAISR0 JCL.

BTSIN (Input)
The concatenation for this file includes the data set created by BTSAPRE0.
BTSOUT (Output)
The output report created by IMS Batch Terminal Simulator will be written.

The DCB for this data set is RECFM=FB,LRECL=133.

CNTLCRDS (Input)
Contains the CNTLCRDS control statements.

The DCB for this data set is RECFM=FB,LRECL=80.

FORMAT (Input)
Contains the MFS format library on which the IMS log was made.
IMS (For DLI execution) (Input)
Contains the PSB library to be used by IMS Batch Terminal Simulator.

The PSB is referenced in the PSB= keyword of the ./T control statement in BTSIN.

IMSACB (For DBB execution) (Input)
Contains the ACB library to be used by IMS Batch Terminal Simulator.

The ACB is referenced in the PSB= keyword of the ./T control statement in BTSIN.

SNAPTRX (Output)
If a U3501 abend occurs, this data set contains the last two TRXIN records that have been processed. These records are used to diagnose the cause of the U3501 abend.

The DCB for this data set is RECFM=VB,LRECL=32756.

STEPLIB (Input)
Describes the library that contains Playback.
SYSPRINT (Output)
Diagnostic messages and summary reports will be written.

The DCB for this data set is RECFM=FB,LRECL=133.

TRXIN (Input)
Contains the formatted extracts of the '01'x and '03'x records from BTSAPRE0.

The DCB for this data set is RECFM=VB,LRECL=32756.

CNTLCRDS control statement keywords

Playback processing can be influenced by the CNTLCRDS control statements that are read from the CNTLCRDS file.

Most control statements are optional. The default result of statement omission is discussed for each keyword.

Related reading: For syntax rules, see Syntax rules for the control statements.

The following keywords apply to BTSAISR0.

DEFMOD= keyword
This keyword specifies the default MOD name that will be used if a record to be processed contains blank characters for the MOD name.

The format of the DEFMOD= keyword is DEFMOD=modname where modname is an 8-character field.

The DEFMOD= keyword is optional. If omitted, the value 'DFSMO3' will be used as a default MOD name.

PROCESS= keyword
This keyword specifies the number of records to be processed from the CROSSREF file.

The format of the PROCESS= keyword is PROCESS=value where value is a 1- to 8-digit numeric.

The PROCESS= keyword is optional. If omitted, all of the records from where processing begins are processed.

You can specify only one PROCESS= control statement.

Requirement: If the PROCESS= statement is used in BTSAISR0, the statement must also be used in the BTSAEDT0.
SKIP= keyword
This keyword specifies the number of records you want to skip in the TRXIN file prior to processing records.

The format of the SKIP= keyword is SKIP=value where value is a 1- to 8-digit numeral.

The SKIP= keyword is optional. If omitted, no records will be skipped prior to record processing.

You can specify only one SKIP= control statement.

Requirement: If the SKIP= statement is used in BTSAISR0, the statement must also be used in the BTSAEDT0.