Previous Topic: Effector Operands (Format 6)Next Topic: Interpretation Control (Format 8)


Mutually Exclusive Operands (Format 7)

Format 7 of the OPERAND clause defines mutually exclusive operands. Mutually exclusive means that you can choose one operand from the list, but not two. In this inline list format, the value-list specification can include any of the verbs available in the OPERAND clause. For example, you can use all of the verbs described in formats one through six and eight in format seven.

[{label}] OPERAND  LIST=((value-list),                    {-}

. {-}
. {-}
. {-}
(value-list))

There are many examples of the format 7 OPERAND clause in the models supplied with CA ACF2 for z/ VM. We took the example that follows from the IPL model. It shows how we defined the mutually exclusive operands CLEAR and NOCLEAR.

OPERAND LIST =((CLEAR,2),        -
               (NOCLEAR,4))

The BACKSPAC model contains a more intricate example of a format 7 OPERAND clause:

OPERAND LIST=((FILE,1),       -
              (GROUP=PAGES),  -
              (1,1,TYPE=DEFAULT,TRAN=DECIMAL))

There is no limit on the number of operands you can specify in a mutually exclusive list. However, there is a size limit of 4088 bytes for a compiled command model. See the NEXTMDL clause for information on using more than one model to describe a command.