Environment Division in COBOL Debug [ COBOL/HP-UX Language Reference for the Series 700 and 800 ] MPE/iX 5.0 Documentation
COBOL/HP-UX Language Reference for the Series 700 and 800
Environment Division in COBOL Debug
The WITH DEBUGGING MODE Clause
Function
The WITH DEBUGGING MODE clause
indicates that all debugging sections and all debugging lines are to be
included in the object code. If this clause is not specified, all
debugging lines and sections are treated as if they were comment lines.
The WITH DEBUGGING MODE clause is not an obsolete feature in ANSI'85 as
it can also be used in the Nucleus.
General Format
General Rules
1. If the WITH DEBUGGING MODE clause is specified in the
SOURCE-COMPUTER paragraph
of the Configuration Section of a program, all USE FOR DEBUGGING
statements and all debugging lines are included in the object
code.
2. If the WITH DEBUGGING MODE clause is not specified in the
SOURCE-COMPUTER paragraph of the Configuration Section of a
program, any USE FOR DEBUGGING statements and all associated
debugging sections, and any debugging lines are treated as if they
were comment statements.
MPE/iX 5.0 Documentation