Previous Topic: The $KTB MacroNext Topic: The $PTB Macro


The $OPRCMD Macro

This macro builds the operator command table. It is coded as follows:

OPRCMD=name,
       [,PTB=]
       [,XJBSIZE=]
       [,EXIT=]
name

Defines the name of the operator command.

PTB

Specifies the external name of a pointer table defining the syntax and analysis of the control statement.

The name you specify must appear on a CSECT or ENTRY statement. If you omit this parameter, CA JCLCheck does not analyze the JES2 statement operands.

XJBSIZE

CA JCLCheck requires this operand if you specfiy PTB and specifies the size, in bytes, of the XJB CA JCLCheck requires to contain the flags and extracted values when analyzing the command statement. CA JCLCheck ignores this operand if you omit the PTB operand.

EXIT

Specifies the external name of an exit routine to use when CA JCLCheck encounters the command statement.

If requested, CA JCLCheck performs operand analysis before entering the exit, CA JCLCheck enters command statement exits with the registers set up as for a command statement exit. For a full description of CA JCLCheck exit routine coding conventions, register assignments, and related topics, see User Exits.