z/OS ISPF Edit and Edit Macros
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


RESET—Reset the Data Display

z/OS ISPF Edit and Edit Macros
SC19-3621-00

The RESET macro command can restore line numbers in the line command field when those line numbers have been replaced by labels, pending line commands, error flags, and change flags. However, to reset any pending line commands, you must have specified the NOPROCESS operand in the MACRO command. RESET can also delete special lines from the display, redisplay excluded lines, and temporarily disable the highlighting of FIND strings.

Syntax

Read syntax diagramSkip visual syntax diagram
Macro command syntax

                                 .-.ZFIRST--.ZLAST----.   
>>-ISREDIT--RESET--+----------+--+--------------------+--------><
                   +-CHANGE---+  +-labela--labelb-----+   
                   +-COMMAND--+  '-linenum1--linenum2-'   
                   +-ERROR----+                           
                   +-EXCLUDED-+                           
                   +-FIND-----+                           
                   +-HIDE-----+                           
                   +-LABEL----+                           
                   +-SPECIAL--+                           
                   '-ALL------'                           

You can type the operands in any order. If you do not specify any operands, RESET processes all operands except LABEL.
CHANGE
Removes ==CHG> flags from the line command field.
COMMAND
Removes any pending line commands from the line command field.
ERROR
Removes ==ERR> flags from the line command field.
EXCLUDED
Redisplays any excluded line.
FIND
Turns off highlighting of FIND strings until the next FIND, RFIND, CHANGE, or RCHANGE command. However, SEEK and EXCLUDE do not return the highlighting of FIND strings in this manner.

RESET with no operands has the same effect on highlighted FIND strings as RESET FIND.

HIDE
Redisplays all "n Line(s) not Displayed" messages for excluded lines that were hidden through the HIDE command.
LABEL
Removes labels from the line command field.
SPECIAL
Deletes any temporary line from the panel:
  • Bounds line flagged as =BNDS>
  • Column identification lines flagged with =COLS>
  • Information lines flagged with ======
  • Mask lines flagged as =MASK>
  • Message lines flagged as ==MSG>
  • Note lines flagged with =NOTE=
  • Profile lines flagged as =PROF>
  • Tabs line flagged as =TABS>
ALL
Removes all changes to the line number field.
linenum1
Relative line number identifying the start of a group of lines to be reset.
linenum2
Relative line number identifying the end of a group of lines to be reset.
labela, labelb
Labels identifying the start and end of the group of lines to be reset.

For more information about using labels to identify a group of lines, see Labels and line ranges.

Description

RESET scans every line of data for conditions to be reset. If you want to delete a small number of special lines, you can get faster response time if you use the D (delete) line command.

Return codes

0
Normal completion
20
Severe error

Examples

To remove all change flags from the current data:

ISREDIT RESET CHANGE

To remove all error flags from the current data:

ISREDIT RESET ERROR

To redisplay all excluded lines messages that are hidden:

ISREDIT RESET HIDE

To redisplay all excluded lines between the .START and .STOP labels:

ISREDIT RESET EXCLUDED .START .STOP

To remove all labels from the current data between and including the .START and .STOP labels:

ISREDIT RESET LABEL .START .STOP
To remove all special lines from the current data between lines 100 and 200:
ISREDIT RESET SPECIAL 100 200

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014