HP-UX SNAplus2 R7 APPC Programmer's Guide
5.5.3 Returned Parameters................................................................................................ 259
5.6 ACCEPT_ATTACH.. .............................................................................................................. 260
5.6.1 VCB Structure: ACCEPT_ATTACH...........................................................................260
5.6.2 Supplied Parameters.................................................................................................260
5.6.3 Returned Parameters................................................................................................ 261
5.7 REJECT_ATTACH.................................................................................................................261
5.7.1 VCB Structure: REJECT_ATTACH.. ......................................................................... 262
5.7.2 Supplied Parameters.................................................................................................262
5.7.3 Returned Parameters................................................................................................ 262
5.8 ABORT_ATTACH...................................................................................................................265
5.8.1 VCB Structure: ABORT_ATTACH.............................................................................265
5.8.2 Supplied Parameters.................................................................................................265
5.8.3 Returned Parameters................................................................................................ 265
Chapter 6 Sample Transaction Programs.........................................................................................267
6.1 Processing Overview.............................................................................................................267
6.2 Pseudocode.......................................................................................................................... 267
6.2.1 asample1 (Invoking TP).............................................................................................267
6.2.2 asample2 (Invoked TP).. ........................................................................................... 268
6.3 Testing the TPs.....................................................................................................................268
Appendix A Return Code Values........................................................................................................270
A.1 Primary Return Codes..........................................................................................................270
A.2 Secondary Return Codes.....................................................................................................271
Appendix B Common Return Codes................................................................................................. 279
B.1 AP_ALLOCATION_ERROR..................................................................................................279
B.2 AP_BACKED_OUT.. ............................................................................................................. 281
B.3 AP_CANCELLED..................................................................................................................281
B.4 AP_COMM_SUBSYSTEM_ABENDED.. .............................................................................. 281
B.5 AP_COMM_SUBSYSTEM_NOT_LOADED..........................................................................282
B.6 AP_CONV_FAILURE_NO_RETRY.......................................................................................282
B.7 AP_CONV_FAILURE_RETRY.. ............................................................................................283
B.8 AP_CONVERSATION_TYPE_MIXED.. ................................................................................ 283
B.9 AP_DEALLOC_ABEND........................................................................................................ 283
B.10 AP_DEALLOC_ABEND_PROG.. ....................................................................................... 283
B.11 AP_DEALLOC_ABEND_SVC.............................................................................................284
B.12 AP_DEALLOC_ABEND_TIMER.........................................................................................284
B.13 AP_DEALLOC_NORMAL...................................................................................................284
B.14 AP_DUPLEX_TYPE_MIXED.. ............................................................................................284
xi