HP-UX SNAplus2 R7 APPC Programmer's Guide
TP Server Verbs
REGISTER_TP
5.3 REGISTER_TP
The REGISTER_TP verb is used to tell Service Manager the name of a TP whose attaches are to be handled by
the TP server. It can also be used to change the TP type or receive allocate timeout for a TP that has already been
registered.
5.3.1 VCB Structure: REGISTER_TP
The definition of the VCB structure for the REGISTER_TP verb is as follows:
typedef struct register_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;
unsigned char tp_name[64];
char lu_alias[8];
unsigned char fqplu_name[17];
unsigned char tp_type;
AP_INT32 rcv_alloc_timeout;
AP_UINT16 modify_existing;
AP_CORR app_corr;
} REGISTER_TP;
typedef union ap_corr {
void * corr_p;
AP_UINT32 corr_l;
AP_INT32 corr_i;
} AP_CORR;
5.3.2 Supplied Parameters
The TP supplies the following parameters to APPC:
opcode
AP_REGISTER_TP
tps_id
The ID of a TP server, as returned on a previous REGISTER_TP_SERVER verb.
res_id
If REGISTER_TP is being used to change an existing TP registration (the modify_existing parameter is set
to AP_YES), this parameter specifies the unique identifier for this resource that was returned on the original
REGISTER_TP verb. Otherwise, this parameter is reserved.
tp_name
The name of the TP being registered. Specify this name in EBCDIC padded with EBCDIC spaces, if necessary,
to a length of 64 characters. Specify a value of 64 EBCDIC spaces (0x40) for a TP for which all attaches
will be handled.
lu_alias
254