OFF Command [ HP ALLBASE/4GL Developer Reference Manual Vol. 2 ] MPE/iX 5.0 Documentation
HP ALLBASE/4GL Developer Reference Manual Vol. 2
OFF Command
The OFF command sets the status of a switch to off.
Formats
{switch_number}
OFF {*ALL }
{*BYPASS }
{*ENDLINE }
Parameters
switch_number
A number from 1 to 8, representing a user switch.
Description
The OFF command sets a switch to the off condition.
You can turn all user switches (number 1 to number 8) off using the
argument *ALL. You can also use the OFF command to set the *BYPASS and
*ENDLINE switches off.
The report generator uses the switch *BYPASS to determine if a record is
selected for reporting. The off condition shows that the current record
is selected for reporting.
The report generator uses the switch *ENDLINE to determine if processing
of the current line group should continue. The off condition indicates
that processing of the current line group continues.
Example
OFF 3
This command sets the status of user switch number 3 to off.
MPE/iX 5.0 Documentation