TACL Reference Manual

Built-In Functions and Variables
HP NonStop TACL Reference Manual429513-018
9-92
#DEFINEADD Built-In Function
#DEFINEADD Built-In Function
Use #DEFINEADD to add a DEFINE to the TACL context, or to replace an existing
DEFINE, using the attributes in the working set. #DEFINEADD invokes the
DEFINEADD operating system procedure.
define-name
is the name of the DEFINE to be added.
flag
is a flag that specifies what to do if a DEFINE with the same name already exists. It
can have either of these values:
If you omit flag, 0 is assumed.
Result
#DEFINEADD returns a numeric error code indicating the outcome of the DEFINEADD
procedure; zero indicates success. See Appendix B, Error Messages for a list of
DEFINE-oriented error codes.
Consideration
When a backup TACL process takes over, TACL deletes existing assignments.
#DEFINEADD define-name [ flag ]
0 Add a DEFINE if it does not exist. Do not replace the existing
DEFINE.
1 Replace an existing DEFINE.