Guardian Programming Reference Summary for C

Error Codes
Guardian Programming Reference Summary for C522630-001
15-11
NEWPROCESS and NEWPROCESSNOWAIT Error Codes
A NEWPROCESS or NEWPROCESSNOWAIT error is returned to the calling process
in a word containing two 8-bit fields. The lefthand part of the error word, bits 0-7,
contains one of the error codes shown below. The righthand part, bits 8-15, can contain
either an error subcode or a file-system error code. Refer to the Guardian Procedure
Errors and Messages Manual for further information.
2060 No more DEFINEs are allowed
2061 No more attributes are allowed for the DEFINE
2062 The attribute is invalid for the DEFINE
2063 The name of the default subvolume has a syntax error in the SET DEFINE
command
2064 Resetting a required DEFINE attribute is not allowed
2066 A required parameter is missing
2067 An invalid value was supplied for an attribute
2068 The CLASS name identifies a nonexistant CLASS
2069 Attempt to add a DEFINE that does not fall under current DEFMODE setting
2071 The DEFINE specifies a 7-character device name, which cannot be converted to a
network name on a C-series system
2073 Replacing the =_DEFAULTS DEFINE with a DEFINE having the same name but
a class other than DEFAULTS is not allowed
2074 Deleting the DEFINE is not allowed
2075 A DEFINE option is invalid
2076 The buffer is too small for the saved DEFINE
2077 An extended address parameter referred to an invalid segment
2078 The DEFINERESTORE buffer does not contain a valid saved DEFINE
2079 Cannot save the working set because the name is =_DEFAULTS and the working
set is not CLASS DEFAULTS.
Code Description
0 No error
1 Undefined external(s)
2 No PCB available
3 File-system error on program-file
4 Unable to allocate map
5 File-system error on swap file
6 Illegal file format
7 Unlicensed privileged program