RESET primary command

The RESET command has different functionality, depending upon where it is used.

Syntax

RESET in View or Edit

In the View or Edit panels, the RESET command “cleans up” the displayed data. You use RESET to turn off the highlighting of strings found by the FIND command and, when using a template, to restore the state of the SHOW and SHADOW settings to the defaults as set in the Editor Options panels.

Read syntax diagramSkip visual syntax diagram
Syntax

              .-FIND-.                   .-COMMAND-.   
>>---RESet----+------+--+-------------+--+---------+------------>
                        '-Excluded--X-'                

>--+-------+--+---------+--------------------------------------><
   '-LABEL-'  '-SPECIAL-'   

COMMAND
Resets all pending prefix commands.
EXCLUDED
“Unexcludes” (redisplays) all excluded records.
FIND
Removes highlighting from strings or numeric values found by the FIND command.
LABEL
Removes all labels from labeled lines.
SPECIAL
Removes all special lines, such as the BOUNDS line from the display.

Entering a RESET command without any parameters:

  • Resets everything except record labels (equivalent to entering RESET COMMAND EXCLUDED FIND SPECIAL), and
  • Groups or ungroups not-selected and suppressed records and hides or displays shadow lines according to the current editor options settings.

RESET in member selection panels

In member selection panels the RESET command resets values entered in the prefix area that have not yet been processed and also in the Prompt field. You can specify a member name or a member pattern to limit the scope of the command to matching member names.

Read syntax diagramSkip visual syntax diagram
Syntax - member selection panels

>>-+-RESET-+-+-*-----------+-----------------------------------><
   '-RES---' '-member_name-'   

*
Specifies that all members in the list are to be deselected.
member_name
Specifies that the named member is to be deselected. Can be a member name pattern, so that all members with a matching name are deselected.

RESET in Set DBCS Options

In the Set DBCS Options panel, the RESET primary command resets the format definitions to their default value (1,*,EB).

Read syntax diagramSkip visual syntax diagram
Syntax (for Set DBCS Options)

>>-+-RESET-+---------------------------------------------------><
   '-RES---'   

RESET in selection lists

In selection lists, the RESET primary command removes all tailorings that affect the selection list.

Read syntax diagramSkip visual syntax diagram
Syntax (for selection lists)

>>-+-RESET-+---------------------------------------------------><
   '-RES---'   

RESET in options panels

In the options panels, the RESET command resets the options displayed on the panel to the default options defined in the Z Data Tools options module.

Read syntax diagramSkip visual syntax diagram
Syntax (for options panels)

>>---RESET-----------------------------------------------------><

Related tasks and examples