HP-UX SNAplus2 R7 APPC Programmer's Guide

TP Server Verbs
ACCEPT_ATTACH
pip_dlen
The actual number of bytes of PIP data returned.
fmh5_dlen
The actual number of bytes of FMH5 data returned.
Unsuccessful Execution
If the verb does not execute successfully, APPC returns a primary return code parameter to indicate the type of
error and a secondary return code parameter to provide specic details about the reason for unsuccessful execution.
Parameter Check
If the verb does not execute because of a parameter error, APPC returns the following parameters:
primary_rc
AP_PARAMETER_CHECK
secondary_rc
Possible values are:
AP_BAD_ATTACH_ID
The value specied for the
attach_id parameter was not recognized.
AP_BAD_TPS_ID
The value specied for the tps_id parameter was not recognized.
Other Conditions
If the verb does not execute because other conditions exist, APPC returns the following primary return code. For a
list of return codes common to all verbs, see Appendix B, Common Return Codes.
primary_rc
AP_UNEXPECTED_SYSTEM_ERROR
5.6 ACCEPT_ATTACH
The ACCEPT_ATTACH verb is used to continue the processing of the attach by this TP server.
5.6.1 VCB Structure: ACCEPT_ATTACH
The denition of the VCB structure for the ACCEPT_ATTACH verb is as follows:
typedef struct accept_attach
{
AP_UINT16 opcode;
unsigned char rsrvd1; /* Reserved */
unsigned char rsrvd2; /* Reserved */
AP_UINT16 primary_rc;
AP_UINT32 secondary_rc;
AP_UINT32 tps_id;
unsigned char attach_id[8];
} ACCEPT_ATTACH;
5.6.2 Supplied Parameters
The TP supplies the following parameters to APPC:
260