Working attribute set, Attribute consistency checks – HP NonStop G-Series User Manual
Page 96
![background image](/manuals/396922/96/background.png)
Creating and Using DEFINEs
Guardian User’s Guide — 425266-001
6 -8
Working Attribute Set
Working Attribute Set
The working attribute set is a set of DEFINE attributes, that the TACL program
maintains.
The working attribute set establishes the attributes and values for the next DEFINE you
create, and consists of the attributes and their values associated with the current
DEFINE CLASS.
Setting the CLASS attribute establishes a different initial working attribute set for each
DEFINE CLASS:
Each time you set the CLASS attribute, you establish a new working attribute set.
Therefore, always set the CLASS attribute first, then set values for the other attributes.
(You can set the CLASS attribute when you set other attributes using the ADD DEFINE
command; see the SPOOL DEFINE example under
Example of Creating and Using a
For example, when you log on, the CLASS attribute has the default value MAP, and the
working attribute set consists of CLASS MAP and the required FILE attribute without
an initial value. If you set the CLASS attribute to TAPE, the working attribute set
becomes all the tape attributes, but only the LABELS attribute has a value (OMITTED).
Attribute Consistency Checks
When you enter an ADD DEFINE, ALTER DEFINE, or SHOW DEFINE command, the
system performs an attribute consistency check on the DEFINE you specified. The
system verifies that values are set for all required attributes and performs other
consistency checks depending on the DEFINE CLASS. For example, one consistency
check ensures that if you specify LABELS ANSI in a TAPE DEFINE, the EBCDIC
attribute must be OFF or not specified.
The attribute consistency checks that apply to TAPE DEFINEs are listed in the TACL
Reference Manual. If a consistency check fails, a message identifies the check number;
only one inconsistency is reported for each check.
CATALOG
SUBVOL attribute
DEFAULTS
VOLUME, SWAP, and CATALOG attributes
MAP
FILE attribute, which is required but has no default value
SEARCH
SUBVOL attributes, which form a search list that can be used by the
FILENAME_RESOLVE_ procedure
SPOOL
All spooler job attributes
TAPE
All tape attributes, with only the LABELS attribute having a value (which is
OMITTED)