SNAX/APC Application Programming Manual
Interprocess Communications and Units of Work
SNAX/APC Application Programming Manual—138786
2-5
The IPC Header
The individual fields in the IPC header are described in the following pages.
REQ-CODE
This field indicates request processing conditions. The only possible value is the
following:
STOP-ON-ERROR (-2)
This value stops processing of the IPC if a UOW error is encountered. This is
the only allowed value for SNAX/APC.
REP-CODE
A reply from SNAX/APC redefines the request code as a reply code and loads the
reply code into this field. The possible reply codes are the following:
ALL-UOWS-OK (0)
All the UOWs were processed successfully. The IPC reply includes the IPC
reply header, the UOW reply headers, and the UOW reply data.
UOWS-WITH-ERROR (2)
SNAX/APC detected an error condition while processing a UOW verb request.
The IPC reply includes the IPC reply header, the UOW reply headers, and reply
data (up to and including the UOW that failed). See the verb return code for the
actual error.
88 INVALID-RCVD-LENGTH VALUE IS 309.
88 CONFIG-ERROR VALUE IS 310.
88 INVALID-SESSION-ID VALUE IS 326.
88 SYNCPT-NOT-ENABLED VALUE IS 327.
88 PROCESS-RESET VALUE IS 401.
88 MULT-UOW-NOT-ALLOWED VALUE IS 402.
88 PREVIOUS-IPC-NOT-COMPLETED VALUE IS 403.
88 MULT-ALLOC-NOT-ALLOWED VALUE IS 404.
88 TP-RQ-NOT-SUPPORTED VALUE IS 405.
88 LU-STOPPED VALUE IS 406.
88 PTNR-LU-STOPPED VALUE IS 407.
88 PTNR-MODE-STOPPED VALUE IS 408.
88 TPN-STOPPED VALUE IS 409.
88 TPI-ABORTED VALUE IS 410.
88 IPC-VERSION-MISMATCH VALUE IS 411.
88 VERB-NOT-ALLOWED-FOR-PS-LU VALUE IS 412.
88 IPC-OUT-OF-BUFFER VALUE IS 413.
88 INVALID-SNAX-DEV-TYPE VALUE IS 414.
88 SYNC-LEVEL-NOT-SUPPTD-BY-LU VALUE IS 417.
02 RESOURCE-ID PIC X(6).
02 UOWS-IN PIC 9(4) COMP.
02 UOWS-OUT PIC 9(4) COMP.
02 LOG-LEVEL PIC 9(4) COMP.