RESET command
Summary
- Privileges
- Dependent upon parameters to be reset
- Function
- Modifies the settings of one or more Model 204 parameters
Syntax
RESET parameter=value [,parameter=value]...
Where:
parameter | is a Model 204 parameter. |
---|---|
value | is the new value of the parameter. |
Syntax notes
The equal sign and the comma are optional.
Example
RESET ERMX=50 ERMX 50 MAXIMUM NUMBER OF ERRORS RESET *** M204.1119: READING PARAMETERS OUTLPP=50, PGSEP=3 OUTLPP 50 OUTPUT LINES PER PAGE PGSEP 3 LINES BETWEEN PAGES
Usage notes
The RESET command changes the settings of any number of Model 204 parameters. The type of parameters that can be set (for example, system parameters, file parameters) depends upon the privileges of the user who issues the command. The value of a parameter can be specified in different formats. Parameters are discussed in detail in Part 1.
RESET is often used in conjunction with the VIEW command. You can VIEW parameter settings and then decide to change them. For example:
VIEW ERMX,ERASE ERMX 50 MAXIMUM NUMBER OF ERRORS ERASE @ X'7C' ERASE-CHARACTER SYMBOL RESET ERMX=40, ERASE=96 ERMX 40 MAXIMUM NUMBER OF ERRORS ERASE - X'60' ERASE-CHARACTER SYMBOL
If no parameters are specified in the RESET command, Model 204 prompts for them, as shown above.
If you specify a nonexistent parameter or attempt to reset a parameter that is not resettable, Model 204 responds with the message:
*** M204.1123: PARAMETER NOT RESET = parameter
You cannot use RESET to set bits that are currently undefined by Rocket Software (see the parameter descriptions of "FISTAT: Current file status", "FOPT: File options", and "OPENCTL: Password option during file open").
For example, in an Online where the Date Time Stamp feature is not installed if a System Manager issues a RESET DTS command, the following message is displayed:
RESET DTS 0 *** M204.2740: INVALID PARAMETER DTS: DATE TIME STAMP SUPPORT NOT LINKED IN DTS 1 DATE TIME STAMP UPDATES (1=AUTOMATIC, 0=BYPASSED)
When it processes RESET, Model 204 ends any current User Language update unit and begins a non-backoutable update unit. If a Model 204 command non-backoutable update unit is in progress, RESET is included in that update unit. For more information about Model 204 update units, see the Model 204 File Manager's Guide.