DEBUG (COBOL only)
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.
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
- For information about specifying this option at the system or region level, see z/OS Language Environment Customization.
- For information about specifying this option in CEEUOPT, see z/OS Language Environment Programming Guide.
- Use DEBUG and NODEBUG only on the command line.
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.