TACL Reference Manual

Built-In Functions and Variables
HP NonStop TACL Reference Manual429513-018
9-90
#DEFAULTS Built-In Variable
#DEFAULTS Built-In Variable
Use #DEFAULTS to set or obtain the saved defaults (set by the DEFAULT program),
the current defaults (set by the VOLUME and SYSTEM commands), or both.
option
is either of these:
CURRENT
specifies your current defaults.
SAVED
specifies your logon defaults.
Result
#DEFAULTS returns the file-name defaults you request. If you specify both options,
the defaults appear in a space-separated list in the order in which you presented the
requests. If you omit both options, #DEFAULTS returns the current defaults.
Considerations
When you first log on, #DEFAULTS is initialized to your saved default volume and
subvolume (current default and saved default are the same at this time).
Use #PUSH #DEFAULTS (or PUSH #DEFAULTS) to save a copy of your current
file-name defaults.
Use #POP #DEFAULTS (or POP #DEFAULTS) to replace your current file-name
defaults with the previously pushed defaults.
Use #SET #DEFAULTS (or SET VARIABLE #DEFAULTS) to assign your current
defaults to a specified subvolume.
The syntax for #SET #DEFAULTS is:
If you change your defaults to include a node name, you can get them back to local
form only by using the #SYSTEM built-in function or the SYSTEM command.
#DEFAULTS [ / option [ , option ] / ]
#SET #DEFAULTS subvolume-name