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 macro command deletes lines from the data you are editing. SyntaxMacro command syntax >>-ISREDIT--DELETE----------------------------------------------> >--+-ALL--+-X--+--+------------------------+-----+------------->< | '-NX-' +-linenum1--+----------+-+ | | | '-linenum2-' | | | '-labela--+--------+-----' | | '-labelb-' | +-+-----+--+-X--+--+-linenum1--+----------+-+-+ | '-ALL-' '-NX-' | '-linenum2-' | | | '-labela--+--------+-----' | | '-labelb-' | '-+-linenum1--+----------+-+------------------' | '-linenum2-' | '-labela--+--------+-----' '-labelb-'
DescriptionDELETE can specify a single line or a range of lines. It can limit the lines to be deleted to all excluded or non-excluded lines in the data, or to all excluded or non-excluded lines within a line pointer range. Return codes
ExamplesTo delete all non-excluded lines:
To delete all
lines between labels .A and .B with a blank in column 1:
To delete the last line
of data in the current data set:
To
delete the first 10 lines of data in the current data set:
|
Copyright IBM Corporation 1990, 2014
|