Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (D-E)
Guardian Procedure Calls Reference Manual522629-013
4-50
DEFINEVALIDATEWORK Procedure
DEFINEVALIDATEWORK Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Considerations
Related Programming Manual
Summary
This procedure can be used to check the working set for consistency.
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
error returned value
INT
indicates the outcome of the call:
0 Successful
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
For other error values associated with DEFINEs, refer to the
Guardian Procedure
Errors and Messages Manual.
checknum output
INT:ref:1
contains the consistency check number that failed when 2058 is returned in
error. See the DEFINEADD parameter checknum for a list of DEFINE
consistency check numbers.
#include <cextdecs(DEFINEVALIDATEWORK)>
short DEFINEVALIDATEWORK ( short _near *checknum );
error := DEFINEVALIDATEWORK ( checknum ); ! o