Previous Topic: The $OPRCMD MacroNext Topic: The $UPT Macro


The $PTB Macro

This macro defines a parameter that includes subparameters. It is immediately followed by $J6PCB macros that define any positional subparameters. $PTB points to a $KTB macro to define any keyword subparameters.

-label-  $PTB     -KTB=0|KTB=address-
                  [POSIT=YES|NO]
                  -LAST=(last $J6PCB macro-,REUSE-)-
label

Defines a reference point.

CA JCLCheck only requires this parameter if a $J6PCB macro references.

KTB

Specifies the label on a $KTB macro, which defines keyword subparameters valid for this parameter.

If you omit the KTB operand, keyword subparameters are not valid for this parameter.

POSIT

Allows you to include positional subparameters.

If you omit this parameter or specify it as POSIT=YES, the LAST operand must be specified.

LAST

CA JCLCheck requires this parameter unless you specify POSIT=NO and specifies the name of the last positional subparameter valid for this parameter.

The name you specify must be the same as the value for the NAME parameter on the last of the $J6PCB macros associated with (immediately following) this $PTB macro.

Specification of REUSE as the second subparameter signifies that CA JCLCheck can reuse the last $J6PCB during the syntax scan. This means that the parameter can have an unlimited number of positional subparameters of the same format. If you do not specify REUSE, you can omit the surrounding parentheses.