HP 3000 Manuals

Environment Division in COBOL Debug [ Micro Focus COBOL Language Reference - Additional Topics ] MPE/iX 5.0 Documentation


Micro Focus COBOL Language Reference - Additional Topics

Environment Division in COBOL Debug 

The WITH DEBUGGING MODE Clause 

Function.   

The WITH DEBUGGING MODEclauseindicates 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 paragraphof 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.
NOTE The WITH DEBUGGING MODE clause is part of the ANSI Nucleus as well as the ANSI Debug module. It is not obsolete and is not scheduled to be deleted from the next full revision of the ANSI Standard.


MPE/iX 5.0 Documentation