DEBUG (COBOL only)
DEBUG activates the COBOL batch debugging features specified by the USE FOR DEBUGGING declarative.
- Non-CICS default
- DEBUG=((OFF),OVR)
- CICS® default
- DEBUG=((OFF),OVR)
- OFF
- Suppresses the COBOL batch debugging features. OFF is the default.
- ON
- 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.
- OVR
- Specifies that the option can be overridden. OVR is the default.
- NONOVR
- Specifies that the option cannot be overridden.
Performance considerations
Because DEBUG(ON) gives worse runtime performance than DEBUG(OFF), use it only during application development or debugging.
For more information
For more information about the USE FOR DEBUGGING declarative, see the appropriate version of the COBOL programming guide in the COBOL library at Enterprise COBOL for z/OS library.