NonStop SQL/MP Reference Manual

Table Of Contents
NonStop SQL/MP Reference Manual142115
Z-3
Considerations—=_DEFAULTS
VOLUME [\node.][$volume.]subvolume
sets the current default node, volume, and subvolume. The file system uses the
current defaults to expand a partially specified Guardian name to a fully qualified
name.
Considerations—=_DEFAULTS
Processes started during a TACL session automatically inherit the =_DEFAULTS
DEFINE from the TACL session, regardless of the DEFMODE setting.
You can alter =_DEFAULTS explicitly using the ALTER DEFINE command. You
can alter it implicitly using the VOLUME, SYSTEM, and CATALOG commands.
If you alter =_DEFAULTS from SQLCI, you alter it only for the duration of the
SQLCI session, not for the TACL session that started the SQLCI session.
With the introduction of the kernel-managed swap facility, the SWAP option is
ignored but is stored so that programs can continue to use the information when
creating temporary files.
Examples—=_DEFAULTS
The following commands are all legal commands that alter the =_DEFAULTS
DEFINE:
ALTER DEFINE =_DEFAULTS, VOLUME \SYS1.$VOL1.PERSNL;
ALTER DEFINE =_DEFAULTS, CATALOG $VOL1.CAT1;
ALTER DEFINE =_DEFAULTS, VOLUME $VOL1.PAYROLL;
VOLUME $VOL1.ORDENTRY;
SYSTEM \SYS2;
ALTER DEFINE =_DEFAULTS, SWAP $VOL1;
This example uses the INFO DEFINE command to display the current setting of the
=_DEFAULTS DEFINE:
>>INFO DEFINE =_DEFAULTS, DETAIL;
CLASS DEFAULTS
VOLUME \SYS2.$VOL1.ORDENTRY
CATALOG \SYS1.$VOL1.CAT1
SWAP \SYS2.$VOL1
=_SORT_DEFAULTS DEFINE
=_SORT_DEFAULTS is a system DEFINE that specifies defaults for FastSort
operations. It can affect SQL performance because SQL uses FastSort for queries and
utility operations.