Previous Topic: Variable Operands (Format 2)Next Topic: Spool Related Operands (Format 4)


Call GROUP Clause (Format 3)

This OPERAND clause calls a set of logically related operands or operands that can occur in multiple formats.

[{label}] OPERAND GROUP=groupname

The groupname corresponds to the label that is on a GROUP clause contained in the limits of the command description (between the COMMAND BEGIN and COMMAND END clauses). When this clause is found by the syntax interpreter, it operates as you called a subroutine. For example, in the sample IPL model shown earlier, the PARM options are described as OPERAND GROUP=PLIST, where PLIST is the label on the PLIST group that describes a logical set of operands that belong together as:

PLIST GROUP TYPE=KEYWORD
       OPERAND ...
         .
         .
         .
      GROUP END

When the OPERAND GROUP=PLIST clause is found, it performs the PLIST group. When the GROUP END statement is found in the PLIST group, control returns to the statement immediately following the OPERAND GROUP=PLIST clause.