Previous Topic: OPERAND ClauseNext Topic: Variable Operands (Format 2)


Constant Operands (Format 1)

Use this form of the OPERAND clause to describe an operand that has a constant value.


[{label} OPERAND value[{,minimum-length}][{,OPTIONAL}]       {-}
                      [{,TYPE=DEFAULT}]

In the sample IPL model shown in Characteristics of a Command Model in this chapter, the operand STOP was described as OPERAND STOP,4. This operand statement describes the STOP operand with a minimum abbreviation of four characters. Had you omitted the 4, the minimum length defaults to the number of characters in STOP, which is four.

Consider the following portion of the VARY model: OPERAND ONLINE,2. Here the minimum abbreviation is two characters, and acceptable specifications are: ON, ONL, ONLI, ONLIN, and ONLINE. The label verb is optional and not really needed in the above examples. For more information, see the VALUEFOR verb and Format 5 in this chapter.