COBOL/400 Language Help


DEBUGGING Declarative

Description
The USE FOR DEBUGGING sentence in the Procedure Division identifies the items in the source program that are to be monitored by the associated debugging declarative procedure.

Debugging sections are obsolete language elements and are to be deleted from the next revision of the ANSI Standard.

All debugging statements must be written together in a section immediately after the DECLARATIVES header. Except for the USE FOR DEBUGGING sentence itself, within the debugging procedure there must be no reference to any non-declarative procedures.

->->---USE-*-----*-DEBUGGING-*----*--------------------------->
         *-FOR-*           *-ON-*
 
     *------------------------------------------*
     V                                          +
->----*-*-----------------------*--identifier-1--*-----------><-
     + *-ALL-*---------------*-*                +
     +       *-REFERENCES OF-*                  +
     *-file-name-1------------------------------*
     *-procedure-name-1-------------------------*
     *-ALL PROCEDURES---------------------------*
 


[ Top of Page | Previous Page | Next Page | Table of Contents ]