TACL Reference Manual

Built-In Functions and Variables
HP NonStop TACL Reference Manual429513-018
9-100
#DEFINEREADATTR Built-In Function
A number indicating the type of the attribute: 0 if it is optional, 1 if it is defaulted, or
2 if it is required.
A number indicating the condition of the attribute: 1 if it was inconsistent the last
time attributes were validated, 0 if it was consistent.
The name of the attribute whose value is being returned.
The (possibly empty) value of the selected attribute.
Consideration
An error code of 2061 can be considered as indicating a successful operation, but if
you are using a loop to read successive attributes, receipt of the “no more attributes”
code should be a signal to terminate the loop.