Sign in

docs RPG Reference

SETOFF (Set Indicator Off)

SETOFF (Set Indicator Off)

Free-Form Syntax(not allowed - use EVAL *INxx = *OFF)
CodeFactor 1Factor 2Result FieldIndicators
SETOFFOFOFOF

The SETOFF operation sets off any indicators specified in positions 71 through 76. You must specify at least one resulting indicator in positions 71 through 76. Entries of 1P and MR are not valid. Setting off L1 through L9 indicators does not automatically set off any lower control-level indicators.

Figure 1 illustrates the SETOFF operation.

For more information, see Indicator-Setting Operations.