TACL Reference Manual

UTILS:TACL Commands and Functions
HP NonStop TACL Reference Manual429513-018
8-203
SHOW DEFINE Command
SHOW DEFINE Command
Use the SHOW DEFINE command to show the value associated with a specific
DEFINE attribute, to show all attribute values that are currently set or defaulted, or to
show all attributes in the current working set (that is, all the attributes associated with
the current CLASS) and the current value of each. For more information about
DEFINEs, see Section 5, Statements and Programs.
OUT list-file
specifies a device, or a sequential file accessible to the sequential I/O (SIO) facility,
that is to receive the output from SHOW DEFINE. The listing includes line numbers of
the new lines in the destination variable. If you omit this option, TACL writes the listing
to its current OUT file.
If you specify an OUT file that does not exist, TACL creates an EDIT file named list-file.
If you specify an OUT file that already exists, TACL appends the information to the end
of the file.
attribute-name
displays the name and current value of the specified attribute-name, a valid
name for a DEFINE attribute. Valid attribute names are described under the
SET DEFINE command. A required attribute that has no current value is
displayed with ?? as its value.
*
displays all attribute names and current values for the working attribute set (all
attributes associated with the current class); optional attributes that have no
current value are listed with a blank value.
Considerations
Entering SHOW DEFINE with no parameter produces a display of the names and
current values of all attributes that are currently set or that have default values.
Required attributes that have no current value are listed with ?? as the value.
Optional attributes that have no current value are not listed. Attributes whose
values violate the consistency rules (see Table 8-7
on page 8-185) are flagged
with an asterisk (*).
The SHOW DEFINE command checks for consistency among the attributes in the
working attribute set. If the attributes are inconsistent (that is, if at least one has a
value that conflicts with that of another attribute), the inconsistent attribute is
flagged with an asterisk, and a warning message is displayed; for example:
81> SHOW DEFINE
CLASS TAPE
* VOLUME 1265
SHOW [ / OUT list-file / ] DEFINE [ attribute-name | * ]