Limited support BMC provides limited support for this version of the product. As a result, BMC no longer accepts comments in this space. If you encounter problems with the product version or the space, contact BMC Support.

Using the batch commands


DLP#BEX1 and DLP#BEX2 utilize the exact same command set for processing DELTA Lists. The commands are free form and consist of three fields separated by at least one blank, see the following table. All three fields must be contained in positions one through 71 of one SYSIN record.

Note

The following considerations apply to using batch commands:

  • A label on the command is optional, but it enables other statements to branch to the command. Labels must begin in column 1 and be followed by a blank. Statements without labels must leave column 1 blank.
  • The operation code must be preceded and followed by a blank. It is required in all commands. Commands must be contained on a single input record and may not be continued.
  • Not all commands require an operand; however, some commands can have more than one operand. When required, they consist of one or more positional and/or keyword-type parameters separated by commas. A blank terminates the operand field. Optional operands shown in the following topic, are enclosed in brackets; all others are required. Do not code brackets in the instruction.
  • Comment lines may be inserted anywhere in the job stream and are distinguished by an asterisk (*) in column 1.

The following table shows the DELTA List batch commands:

Op Code

Operands

Description

CHECK

list,TARGET=id,MODE= mode,MARK=YES,TYPE=COORD

list - Member name in the DELTA PDS to be checked

id - Target IMSID or Group

mode - OPTIMIZE - optimized execution mode - ELEMENT - element-at-a-time execution mode

MARK=YES - If MARK=YES is specified, only those elements in the DELTA List which are marked for execution will be processed. If this is operand is omitted, all elements in the DELTA List are processed.

TYPE=COORD - If TYPE=COORD is specified, then the DELTA List changes will be coordinated across all the IMS control regions in the target Group. The id specified for the TARGET= must be a Group and not an IMSID.

EXEC

list,TARGET=id,MODE= mode,MARK=YES,TYPE=COORD

list - Member name in the DELTA PDS to be executed

id - Target IMSID or Group

mode - OPTIMIZE - optimized execution mode - ELEMENT - element-at-a-time execution mode

MARK=YES - If MARK=YES is specified, only those elements in the DELTA List which are marked for execution will be processed. If this is operand is omitted, all elements in the DELTA List are processed.

TYPE=COORD - If TYPE=COORD is specified, then the DELTA List changes will be coordinated across all the IMS control regions in the target Group. The id specified for the TARGET= must be a Group and not an IMSID.

IF

cc, ro, value,GOTO=label

A condition code is set during Check/Execute. LASTCC reflects the result of the last operation, whereas MAXCC reflects the highest code received in all operations. Condition codes set are:

  • 0 - OK
  • 4 - Minor error (for example, ACBLIB/IMS Directory BLDL failed)
  • 8 - DELTA List not found
  • 12 - Major error during Check/Execute
  • 16 - PDS I/O error

cc - The keyword LASTCC or MAXCC

ro - One of the following relational operators:

  • EQ - Equal
  • LE - Less than or equal to
  • GE - Greater than or equal to
  • NE - Not equal
  • LT - Less than
  • GT - Greater than

value - Compared to cc and can be from 0 to 20

label - Branch to label if the tested condition is true

EXIT

 

Terminate the job step.

ABEND

 

Terminate job with a U4068 abend.





 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*