Previous Topic: The OPS.ERROR VariableNext Topic: Changing the Default Variable With PREFIX


Additional Return Information

If executed successfully, the following OPS commands return additional information beyond an RC value:

Return information is stored in the special variable OPS.opscommand. (The opscommand portion of the stem variable represents the name of the OPS command.)

The OPS.opscommand.0 variable contains the number of lines of information returned (that is, the number of elements in the OPS.opscommand variable). The variables OPS.opscommand.1 through OPS.opscommand.n each contain a line of information. The n value represents the last line of return information.

Note: The OPS.opscommand variable contains the same value stored in the OPS.opscommand.1 variable. It is the first line of return information.