Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
DELETE—Delete Lines z/OS ISPF Edit and Edit Macros SC19-3621-00 |
|
The DELETE primary command deletes lines from the data you are editing. Note: As a precaution against error,
there is no DELETE ALL command. To delete all lines, see Description.
Syntax>>-+-DELETE-+--+-+-ALL------------+--+-X--+-+------------------>< '-DEL----' | '-labela--labelb-' '-NX-' | '-ALL--labela--labelb--------'
DescriptionTo delete all lines,
do one of these:
ExamplesIn the examples that follow, .labela and .labelb represent the two labels that show the range of lines to be deleted.
You can more easily determine which lines to delete in a large data set by excluding lines that meet some criterion, or by leaving all lines that meet the criterion non-excluded. Then, with DELETE you can delete many lines. For example, to delete all blank lines in a data set, type these commands on the command line and press Enter after each one:
Another way to do the same thing is this:
|
Copyright IBM Corporation 1990, 2014
|