COBOL/400 Language Help
An identifier in a USE FOR DEBUGGING sentence:
- Must be specified without the subscripting or indexing normally required
if it contains an OCCURS clause or is subordinate to an entry containing an
OCCURS clause. (A SEARCH or SEARCH ALL statement that refers to such an
identifier does not call the USE FOR DEBUGGING procedures.)
- Must not be a special register.
- Cannot be reference modified.
When you specify identifier-1, that debugging section is
executed at each of the following times:
- Before the execution of a WRITE or REWRITE statement that explicitly
references identifier-1 and after the execution of any implicit
move resulting from the presence of the FROM phrase.
- After each initialization, modification, or evaluation of the contents of
identifier-1 in PERFORM VARYING/AFTER/UNTIL
identifier-1.
- After any other COBOL statement explicitly referring to
identifier-1 and causes a change in the contents of
identifier-1.
Any given identifier may appear in only one USE FOR DEBUGGING sentence, and
only once in that sentence.
If identifier-1 is specified in a phrase that is not executed or
evaluated, the associated debugging section is not executed.
[ Top of Page | Previous Page | Next Page | Table of Contents ]
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.