COBOL Manual for TNS and TNS/R Programs
Program Compilation
HP COBOL Manual for TNS and TNS/R Programs—522555-006
11-84
IF and IFNOT
NOICODE
suppresses the mnemonic image of the compiled code.
IF and IFNOT
IF
enables compilation of subsequent source text if the toggle with toggle-number
is set; disables it otherwise.
IFNOT
suppresses compilation of subsequent source text if the toggle with toggle-
number is set; enables it otherwise.
toggle-number
is an integer in the range 1 through 15.
The toggles are turned on and off by use of the SETTOG and RESETTOG directives. If
no SETTOG directive has been issued, a toggle is off.
Default: NOICODE
Placement: Anywhere
Scope: Last ICODE or NOICODE applies to program unit.
Dependencies: ICODE works only if LIST is active and SUPPRESS is not.
References:
•
LIST and NOLIST
•
SUPPRESS and NOSUPPRESS
•
MAP and NOMAP
•
CODE and NOCODE
Default: None
Placement: Must be either on a directive line of its own or be the last of a sequence
of directives
Dependencies: Requires a preceding IF or IFNOT directive with the same toggle-
number
References: IF and IFNOT
IF
IFNOT
toggle-number
VST287.vsd