DELETE
COBOL | PL/I | Assembler | C Language |
Description
The DELETE command turns off the effect of other Code Debug TSO commands. Usage differs for interactive and unattended batch tests.
In an interactive test, the DELETE command without a command keyword removes all pending line commands and removes any unused inserted lines created with the I (Insert) line command. You must enter a keyword to delete a specific command.
In an unattended batch test, you cannot use the DELETE command without a command keyword.
A record of the command is written to the session log.
Input

DELETE Line Command Syntax
D - Delete the displayed value on a line
D - Remove an inserted line
D - Delete the line from the Keep window
D - Reshow all the excluded lines on an excluded range of lines
D: - Enable left and right scrolling on a frozen line
DA - Delete the after breakpoint on a line
DB - Delete the before breakpoint on a line
DC - Delete the count breakpoint on a line
DD - Delete all commands and breakpoints on a block of lines
DE - Delete the display of elementary values (COBOL and PL/I only)
DG - Collapse the macro on a line (COBOL and Assembler only)
DH - Delete the values displayed in hexadecimal format
DO - Delete the onetime breakpoint on a line
DS - Delete a skip on a line
DT - Delete the column template displayed above a field or the
trace breakpoint on an instruction
DV - Delete the verified field (Assembler only)
The following are the parameter descriptions for the DELETE command:
ALL
A keyword that turns off all breakpoints and commands in a module.
location
A place where breakpoints are deleted. Valid locations on breakpoints set by the AFTER, BEFORE, COUNT, ONETIME, SKIP, TRACE, and VERIFY (Assembler only) commands for each language are described in Common-Parameters.
You can specify a list separated by spaces or commas, or by a range; for example, statement-number THRU statement-number. THRU is a required keyword when a range is specified. For additional information on these parameters, see to Notation Rules.
address
A 24- or 31-bit address.
CSECT-name
The name of a CSECT. If the CSECT exists in the current load module, enter the CSECT-name followed by a single colon (:). If the CSECT is not in the current load module, the CSECT-name must be preceded by the load module name and double colons (::) and be followed by a single colon (:).
offset
Identifies an area in storage relative to the beginning of the area. It must include a plus sign (+) followed by a valid hexadecimal number.
For the RUNTO parameter, the hexadecimal offset is relative to the beginning of the module and is valid only if used in Assembler or Pseudo Source. The line command area must be set to display offset. (For more information, see Entering Line Commands.)
statement-number
A valid statement number. You can specify a list of statements separated by spaces or commas, or by a range; for example, statement-number THRU statement-number. THRU is a required keyword when a range is specified.
program-name
The COBOL module or subroutine name. In PL/I or C language, the load module name or any control section (CSECT) name in the program.
module-name
The COBOL or Assembler module being monitored. The name must be followed by a colon (:). In COBOL, the DELETE MONITOR ALL command deletes the monitoring of all modules.
data
A data name, data-item, variable, data-label, or register (Rn).
CSR
The cursor. Deletes a data-item, variable, or RUNTO breakpoint where the cursor is positioned.
conditional-expression
Any valid expression supported by Code Debug TSO that compares the relationship of two items, such as less than or not equal.
Usage Notes
ALL Languages |
- When you remove all breakpoints (including the default breakpoints) and execute a program, Code Debug TSO displays the session log and issues the message TEST COMPLETED.
- When using the DELETE command, you must use qualification when applicable. See to Command Qualification Rules for information.