z/OS Language Environment Programming Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


DEBUG (COBOL only)

z/OS Language Environment Programming Reference
SA38-0683-00

DEBUG activates the COBOL batch debugging features specified by the USE FOR DEBUGGING declarative.

The default value for non-CICS applications is NODEBUG.

The default value for CICS® applications is NODEBUG.

Read syntax diagramSkip visual syntax diagram
Syntax

   .-NODEBUG-.   
>>-+-DEBUG---+-------------------------------------------------><

NODEBUG
Suppresses the COBOL batch debugging features.
DEBUG
Activates the COBOL batch debugging features. You must have the WITH DEBUGGING MODE clause in the environment division of your application in order to compile the debugging sections.

Usage notes

Performance consideration

Because DEBUG gives worse runtime performance than NODEBUG, you should use it only during application development or debugging.

For more information

See the appropriate version of the COBOL programming guide in the COBOL library at Enterprise COBOL for z/OS library for more information about the USE FOR DEBUGGING declarative.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014