Previous Topic: Sample Uses of OPTIONS InstructionsNext Topic: SIGNAL Instruction


RETURN Instruction

OPS/REXX fully supports the RETURN instruction.

The )INIT, )TERM, and )PROC sections of AOF rules are OPS/REXX programs called by the AOF. The values returned by these rule sections (through the RETURN instruction) guide the actions of the AOF. For example, if a )INIT section returns REJECT, the rule is neither enabled nor executed. For details on how sections of rules execute, see the AOF Rules User Guide.