HP-UX SNAplus2 R7 APPC Programmer's Guide

TP Server Verbs
UNREGISTER_TP_SERVER
typedef struct unregister_tp_server
{
AP_UINT16 opcode;
unsigned char rsrvd1; /* Reserved */
unsigned char rsrvd2; /* Reserved */
AP_UINT16 primary_rc;
AP_UINT32 secondary_rc;
AP_UINT32 tps_id;
} UNREGISTER_TP_SERVER;
5.2.2 Supplied Parameters
The TP supplies the following parameters to APPC:
opcode
AP_UNREGISTER_TP_SERVER
tps_id
The ID of the TP server to be unregistered, as returned on a previous REGISTER_TP_SERVER verb.
5.2.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 parameter:
primary_rc
AP_OK
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_TPS_ID
The specied value of 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
253