SET DYNDEBUG command

Controls the activation or deactivation of the Dynamic Debug facility.

The Dynamic Debug facility must be activated in order to debug the following types of programs:

You can use the Dynamic Debug facility to improve the performance of programs with compiled-in hooks (compiled with COBOL, C/C++, and PL/I compilers) while you debug them.

The initial setting of DYNDEBUG can be controlled by the EQAOPTS DYNDEBUG command. If no EQAOPTS DYNDEBUG command is used, the initial setting in ON.

Read syntax diagramSkip visual syntax diagram
                  .-ON--.      
>>-SET--DYNDEBUG--+-----+--;-----------------------------------><
                  '-OFF-'      

ON
Activates the Dynamic Debug facility.
OFF
Deactivates the Dynamic Debug facility.

Usage notes

A small arrowhead indicates where a z/OS Debugger would stop if the same program were compiled in two different ways.
Program compiled with TEST(ALL) Program compiled with TEST(NONE)
000001 MOVE... 000001 MOVE...
000002 ADD... 000002 ADD...
►000003 LABEL: ... 000003 LABEL: ...
000004 MOVE... ►000004 MOVE...

Refer to the following topics for more information related to the material discussed in this topic.

1 In non-CICS environments, SVC screening must be enabled to debug LangX COBOL programs, programs that run without the Language Environment runtime, or programs that are loaded by using the MVS™ LOAD and LINK macros. See IBM z/OS Debugger Customization Guide for instructions on how to manage SVC screening.