Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (D-E)
Guardian Procedure Calls Reference Manual—522629-013
4-13
DEFINEADD Procedure
2057 Working set is incomplete, a required attribute is missing.
2058 Working set is inconsistent. Two or more attributes have conflicting values.
The
checknum parameter identifies the consistency check that failed.
2059 Working set is invalid
2066 Missing parameter
2069 The DEFMODE of the process does not permit the addition of the DEFINE
For other error values associated with DEFINEs, refer to the
Guardian Procedure
Errors and Messages Manual.
define-name input
STRING .EXT:ref:24
is the 24-byte array that contains the name of the DEFINE to be added or replaced
in the working set. The name is left-justified and padded on the right with blanks.
Trailing blanks are ignored.
replace input
INT:value
if present and has a value of 1, then the attributes of the DEFINE that is named by
define-name are replaced with the attributes in the working set.
checknum output
INT:ref:1
contains the number of the consistency check that failed when 2058 is returned in
error. Refer to the Guardian Procedure Errors and Messages Manual for a list of
DEFINE consistency check numbers.
Considerations
•
If an error occurs, the DEFINE is not created or replaced.
•
If the replace option is used, the named DEFINE must exist.
•
The context-change count is incremented each time procedure DEFINEADD is
invoked and a consequent change to the process’s context occurs. If an error
occurs, the count is not incremented.