HP-UX SNAplus2 R7 APPC Programmer's Guide

TP Server Verbs
QUERY_ATTACH
AP_UINT16 pip_dlen;
unsigned char *pip_dptr;
AP_UINT16 max_fmh5_len;
AP_UINT16 fmh5_dlen;
unsigned char *fmh5_dptr;
} QUERY_ATTACH;
5.5.2 Supplied Parameters
The TP supplies the following parameters to APPC:
opcode
AP_QUERY_ATTACH
tps_id
The ID of the TP server, as returned on a previous REGISTER_TP_SERVER verb.
attach_id
The ID of the attach, as returned by the attach notication callback.
max_pip_len
The maximum buffer space available for PIP data.
pip_dptr
Pointer to caller-allocated buffer for returned attach pip data buffer.
max_fmh5_len
The maximum buffer space available for FM header 5 (FMH5) data.
fmh5_dptr
Pointer to caller-allocated buffer for returned attach FMH5 data buffer.
5.5.3 Returned Parameters
After the verb executes, APPC returns parameters to indicate whether the execution was successful and, if not, to
indicate the reason the execution was not successful.
Successful Execution
If the verb executes successfully, APPC returns the following parameters:
primary_rc
AP_OK
tp_name
The attach TP name.
lu_alias
The attach local LU alias.
fq_plu_name
The attach fully qualied partner LU name.
mode_name
The attach mode name.
259