Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (D-E)
Guardian Procedure Calls Reference Manual522629-013
4-46
DEFINESETATTR Procedure
2052 Unable to obtain file-system buffer space
2055 Attribute not supported
2062 Attribute name too long
2063 A syntax error occurred in default names
2064 The required attribute cannot be reset
2066 Missing parameter
2067 Illegal value
For other error values associated with DEFINEs, refer to the
Guardian Procedure
Errors and Messages Manual.
attribute-name input
STRING .EXT:ref:16
uniquely identifies an attribute. The name should be left justified and blank-filled.
value input
STRING .EXT:ref:*
is the address of the array that contains the attribute value as an ASCII string (see
Appendix E, DEFINEs
).
If this parameter is absent, the reset operation is assumed (the attribute is given a
default value, if one exists; else the attribute is deleted).
If this parameter is present, then the next parameter must be present.
value-len input
INT:value
is the length of the array
value in bytes. If -1, the value of the attribute is reset;
the attribute is given a default value, if it has one, or the attribute is deleted.
default-names input
INT:ref:8
contains the default volume and subvolume names to be used to convert from the
external representation of the value to an internal representation.
[0:3] default volume name. First two bytes can be “\sysnum,” in which case
“$” is omitted from volume name. (blank-filled on right)
[4:7] default subvolume name (blank-filled on right)