RESET—Reset the Data Display

The RESET primary 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. RESET can also delete special lines from the display, redisplay excluded lines and excluded lines messages, and temporarily disable the highlighting of FIND strings.

Syntax

Read syntax diagramSkip visual syntax diagramRESETRESCHANGECOMMANDERROREXCLUDEDFINDHIDELABELSOURCESPECIALALL.ZFIRST.ZLASTlabelalabelb
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. SEEK and EXCLUDE do not return the highlighting of FIND strings in this manner.

The resetting of FIND highlighting does not honor the range specified on the RESET command.

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.
SOURCE
Revert back from ASCII editing mode to EBCDIC editing mode such that the data is not translated from or to ASCII when displaying and receiving input from the terminal.
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.
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. 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.

Examples

To reset all lines except those that contain labels:
RESET
To reset only the lines that contain labels:
RESET LABEL
To reset only the lines that contain pending line commands:
RESET COMMAND
To reset only the lines that contain ==ERR> flags:
RESET ERROR
To reset only the lines that contain ==CHG> flags:
RESET CHANGE
To reset only the special (temporary) lines:
RESET SPECIAL
To reset only the excluded lines:
RESET EXCLUDED
To reset only the excluded lines messages:
RESET HIDE
To reset all lines between and including the .START and .STOP labels, except those that contain labels:
RESET .START .STOP