HP-UX SNAplus2 R7 APPC Programmer's Guide
TP Server Verbs
UNREGISTER_TP
primary_rc
AP_UNEXPECTED_SYSTEM_ERROR
5.4 UNREGISTER_TP
The UNREGISTER_TP verb is used to notify the Service Manager that the application does not want to receive
Attach notifications for the specified TP.
5.4.1 VCB Structure: UNREGISTER_TP
The definition of the VCB structure for the UNREGISTER_TP verb is as follows:
typedef struct unregister_tp
{
AP_UINT16 opcode;
unsigned char rsrvd1; /* Reserved */
unsigned char rsrvd2; /* Reserved */
AP_UINT16 primary_rc;
AP_UINT32 secondary_rc;
AP_UINT32 tps_id;
AP_UINT32 res_id;
} UNREGISTER_TP;
5.4.2 Supplied Parameters
The TP supplies the following parameters to APPC:
opcode
AP_UNREGISTER_TP
tps_id
The ID of the TP server, as returned on a previous REGISTER_TP_SERVER verb.
res_id
The unique identifier for this resource, as returned on a previous REGISTER_TP verb.
5.4.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 specific details about the reason for unsuccessful execution.
257