Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
XSTATUS—Set or Query Exclude Status of a Line z/OS ISPF Edit and Edit Macros SC19-3621-00 |
|
The XSTATUS assignment statement either sets the exclude status of the specified data line, or retrieves the exclude status of the specified data line and places it in a variable. SyntaxAssignment statement syntax >>-ISREDIT--(varname)-- = --XSTATUS--+-linenum-+--------------->< '-label---' >>-ISREDIT--XSTATUS--+-linenum-+-- = --+-X--+------------------>< '-label---' '-NX-'
DescriptionExclude status determines whether the line is excluded. If you want to exclude several lines at one time, the EXCLUDE command should be used. Similarly, to show several lines at one time, use the FIND command. Return codes
ExamplesUse XSTATUS together with SEEK
and CHANGE to preserve the exclude status of a line. For example,
to store the exclude status of the line whose number is in variable &N
in variable &LINEX:
To
exclude line 1:
To
locate a string and change it, saving and then restoring the exclude
status:
|
Copyright IBM Corporation 1990, 2014
|