SNAX/APC Application Programming Manual
Interprocess Communications and Units of Work
SNAX/APC Application Programming Manual—138786
2-7
IPC Return Codes
LOG-LEVEL
Reserved for future use. This field should be set to 0 to avoid future incompatibility.
IPC Return Codes
Table 2-1 describes the return codes that can be returned in the HEADER-RETURN-
CODE field of the IPC reply message. (Additional information is returned in the
HEADER-RETURN-CODE-DETAIL field for values 2, 3, 4, and 9. Refer to Table 2-2
)
Table 2-1. IPC Header Return Codes (page 1 of 2)
Value Label Meaning
0 IPC-OK SNAX/APC returns this code if REP-CODE contains either
ALL-UOWS-OK (0) or UOWS-WITH-ERROR (2).
1 INVALID-
VERSION-CODE
This code indicates that the value in the VERSION-CODE
field could not be recognized by SNAX/APC.
2 INVALID-
RESOURCE-ID
SNAX/APC could not recognize the RESOURCE-ID
specified in the IPC. This might indicate that the TP
issued a verb (other than TP-READY) when there is no
conversation. See Table 2-2.
3SERVICE-
DENIED
SNAX/APC denied processing for the verb request.
See Table 2-2.
4 INVALID-UOW-
HEADER
SNAX/APC detected an invalid UOW header in the verb
request. The HEADER-RETURN-CODE-DETAIL field
indicates the specific reason for the error. If this error code
is returned, UOWS-OUT indicates the UOW that failed,
and no verb reply is returned for any UOW. No verb
processing took place for any of the UOWs in the IPC
message.
See Table 2-2.
5 REQ-TOO-LONG The IPC message was too long for the given verb request
type, or the message length exceeded the maximum length
configured for the SNAX/APC system.
6 REQ-TOO-
SHORT
The IPC message was too short for the given verb request
type.
7 REP-TOO-LONG The reply is longer than the reply length specified in the
TP’s WRITEREAD procedure call.