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.

Figure 1. Syntax

1 RESet
1! FIND
3?  Excluded X
3!  COMMAND
3?  LABEL
3?  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.

Figure 2. Syntax - member selection panels

1 
2.1 RESET
2.1 RES
2.1 *
2.1 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).

Figure 3. Syntax (for Set DBCS Options)

1 RESET
1 RES
RESET in selection lists

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

Figure 4. Syntax (for selection lists)

1 RESET
1 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 File Manager options module.
Figure 5. Syntax (for options panels)

1 RESET

Availability

Related tasks and examples