TACL Reference Manual
UTILS:TACL Commands and Functions
HP NonStop TACL Reference Manual—429513-018
8-154
RESET DEFINE Command
RESET DEFINE Command
Use the RESET DEFINE command to restore one or more DEFINE attributes in the
working attribute set to their initial settings. For more information about DEFINEs, see
Section 5, Statements and Programs and the ADD DEFINE Command on page 8-9.
attribute-name
is the name of a DEFINE attribute whose value is to be reset to its initial value. For
the syntax of attribute-name, see SET DEFINE Command on page 8-173. If you
reset a defaulted attribute, it assumes its default value. If you reset an optional
attribute, it has no value. You cannot reset a required attribute after a value has
been assigned to it.
*
resets all the attributes in the working attribute set to their initial settings. That is,
CLASS is reset to MAP, and the only CLASS MAP attribute, FILE, is reset to have
no value.
Considerations
•
If any error occurs on a RESET DEFINE command, the command has no effect on
the working attribute set. The DEFINE command error messages are listed and
described in Appendix B, Error Messages. Entering RESET DEFINE * is equivalent
to specifying SET DEFINE CLASS MAP.
•
That is, RESET DEFINE * resets CLASS to MAP (the default value), establishes
the attributes of CLASS MAP as the working attribute set, and restores each of
those attributes to its initial setting; for example:
69> RESET DEFINE *
70> SHOW DEFINE
CLASS MAP
FILE ??
Current attribute set is incomplete
•
Because the CLASS attribute acts as a DEFINE subtype, you should keep these
points in mind when using the RESET DEFINE command:
°
Attributes are reset in the order they are specified in your command.
°
Resetting the CLASS attribute establishes a new working attribute set of the
default CLASS (MAP); its single attribute, FILE, has no value.
°
An error occurs if you reset an attribute that is not a member of the working
attribute set (such as an attribute that is not associated with the current
CLASS).
RESET DEFINE { attribute-name [‚ attribute-name ] ... }
{ * }