TACL Reference Manual
UTILS:TACL Commands and Functions
HP NonStop TACL Reference Manual—429513-018
8-178
SET DEFINE Command
°
For CLASS SPOOL, the working attribute set consists of the attributes listed in
Table 8-5 on page 8-182. The only required attribute is the LOC attribute.
°
For CLASS SUBSORT, the working attribute set consists of the attributes listed
in Table 8-6 on page 8-184. The only required attribute is the SCRATCH
attribute.
°
For CLASS TAPE, the working attribute set consists of all the attributes listed
in Table 8-8 on page 8-186, as well as any values set or defaulted for those
attributes. The only required attribute for a TAPE DEFINE is VOLUME, and
then only when you specify USE IN. Table 8-8 describes the CLASS TAPE
attributes; those marked with an asterisk (*) correspond to fields in the tape
system labels.
•
Because the CLASS attribute works as a DEFINE subtype, you should remember
these points when you use SET DEFINE:
°
Attributes are set in the order in which they are specified in the SET DEFINE
command.
°
Setting the CLASS attribute establishes a new working attribute set that
consists of all the attributes associated with that class, each with its initial
setting.
°
You cannot set an attribute that is not associated with the current CLASS. For
example, if the current CLASS is DEFAULTS, you cannot enter SET DEFINE
LABELS IBM.
°
To avoid errors or unexpected results with the SET DEFINE command, set the
CLASS attribute first. You can do this in a separate SET DEFINE command,
with a LIKE clause in a SET DEFINE command, or as the first attribute in a
SET DEFINE command. However, be careful not to specify a LIKE clause in
the same SET DEFINE command with a CLASS clause.
•
If you enter a SET DEFINE command with a LIKE clause, a later ADD DEFINE
command will create a DEFINE identical to the one named in LIKE define-name as
long as you do not modify any attributes. These points apply:
°
If the CLASS of LIKE define-name is the same as the current CLASS, all the
attributes in the working attribute set are set to the values of define-name. For
example, if an attribute has no value in LIKE define-name, that attribute has no
value in the working attribute set.
°
If the CLASS of LIKE define-name is different from the current CLASS, a new
working attribute set is established, corresponding to the CLASS of define-
name, and with attribute values set as in define-name.
•
Any attribute specifications that follow a LIKE clause in a SET DEFINE command
modify the attribute values established by the LIKE clause.