DISABLE command
The DISABLE command makes an AT or
pattern-match breakpoint inoperative. However, the breakpoint is not
cleared. Later, you can make the breakpoint operative by using the ENABLE command.
- AT_command
- An enabled
ATcommand. TheATcommand must be complete except that the every_clause and command are omitted. Valid forms are the same as those allowed withCLEAR AT. - DTCN LOADMOD or DTCN CU
- Prevents z/OS® Debugger
from being started by a program, load module, or compile unit specified in
loadmod_id or cu_id that matches a program or
compile unit specified in a DTCN profile.
z/OS Debugger compares
loadmod_id with the value in the LoadMod field and
cu_id with the value in the CU field.
You can specify a specific name (for example, PROG1) or a partial name with the wild card character (for example, EMPL*).
Usage notes
- You can use the
DISABLE DTCNcommand in remote debug mode. - You can use the
DISABLEcommand to disable either active or suspended breakpoints. However, you cannot use it to disable suspended label breakpoints. - If you want to disable a suspended breakpoint, you must specify both the load module and CU name.
- To reenable a disabled
ATcommand, use theENABLEcommand. - Disabling an
ATcommand does not affect its replacement by a new (enabled) version if an overlappingATcommand is later specified. It also does not prevent removal by aCLEAR ATcommand. - Breakpoints already disabled within the range(s) specified in
the specific
ATcommand are unaffected; however, a warning message is issued for any specified range found to contain no enabled breakpoints. - The
DISABLEcommand cannot be used while you replay recorded statements by using thePLAYBACKcommands. - For pseudo-conversational applications running under CICS®, the
DISABLE DTCNcommand applies only to the current CICS pseudo-conversational task. - For PL/I, COBOL, LangX COBOL, assembler and disassembly, if the cu_id is mixed case or case sensitive, you must enclose the name in quotation marks (") or apostrophes (').
- For C and C++, z/OS Debugger always treats the cu_id as case sensitive, even if it is not enclosed in quotation marks (").
Examples
- Disable the breakpoint that was set by the command
AT ENTRY myprog CALL proc1;.DISABLE AT ENTRY myprog; - If statement 25 is in a loop and you set the following breakpoint:
to disable it, enter:AT EVERY 5 FROM 1 TO 100 STATEMENT 25 LIST x;
You do not need to reenter the every_clause or the command list. To restore the breakpoint, enter:DISABLE AT STATEMENT 25;ENABLE AT STATEMENT 25; - z/OS Debugger starts
every time PROGA runs because you have a DTCN profile that specifies
an asterisk (*) in the LoadMod field and PROGA in the CU field. field.
If you do not want z/OS Debugger to start
every time PROGA runs, enter one of the following commands:
DISABLE DTCN LOADMOD * CU PROGA;DISABLE DTCN CU PROGA;
Refer to the following topics for more information related to the material discussed in this topic.
- Related tasks
- "Controlling pattern-match breakpoints with the ENABLE and DISABLE commands" in the IBM® z/OS Debugger User's Guide
- Related references
- ENABLE command
- DISABLE prefix (full-screen mode)
- LIST DTCN command
- z/OS Debugger commands supported in remote debug mode
