Previous Topic: Constant Operands (Format 1)Next Topic: Call GROUP Clause (Format 3)


Variable Operands (Format 2)

This form of the OPERAND clause describes an operand whose value is a variable term. The transposition routine validates the value you enter and, in some cases, converts it to a common value so that differences between a command and a rule can be resolved. You can specify the value for any OPERAND clause that includes a transposition routine as a pseudo operand in a command limiting rule.


[{label} OPERAND value[{,maximum-length}],TRAN=routine     {-}
                      [{,OPTIONAL}][{,TYPE=DEFAULT}]

In the sample IPL model shown earlier, the operand vcuu was described as OPERAND vcuu,4,TRAN=VCUU. This operand statement describes the operand VCUU with a maximum length of four positions. CA ACF2 for z/ VM calls the transposition routine VCUU (TRAN=VCUU) at command interpret time to see if the operand being interpreted is a valid hexadecimal number. If it is, the transposition routine returns a binary value. If it is not, CA ACF2 for z/ VM returns a nomatch condition. Had we omitted the 4, the maximum length defaults to 4, the number of characters in VCUU.

If you use the TYPE=DEFAULT verb, the value you specify must correspond to the transposition routine you specify. For example, in the supplied BACKSPAC model, the default number of pages to be backspaced is decimal 1, as defined in OPERAND 1,1,TYPE=DEFAULT,TRAN=DECIMAL.

For a complete list of all the transposition routine names, see the section Transposition Routines for Command Limiting.