HP-UX SNAplus2 R7 APPC Programmer's Guide

TP Server Verbs
REGISTER_TP
The rcv_alloc_timeout parameter, the type parameter, or both of these parameters can be changed
from the original REGISTER_TP verb, but all other supplied parameters must match the value used
on the original REGISTER_TP verb.
AP_NO
This verb is being used to register a new TP.
app_corr
An application provided correlator passed into the attach notication callback. For more information, see
Section 5.1.4, Usage Notes.
5.3.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
res_id
The unique identier for this resource.
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_INVALID_TP_NAME
The value specied for the tp_name parameter was not valid.
AP_INVALID_LU_ALIAS
The value specied for the lu_alias parameter was not valid.
AP_INVALID_FQ_LU_NAME
The value specied for the fqplu_name parameter was not valid.
AP_INVALID_TIMEOUT
The value specied for the rcv_alloc_timeout parameter was not valid.
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.
256