HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
QUERY_TP
trace_flags
The types of tracing currently active.
If no tracing is active, or if tracing of all types is active, this is one of the following values:
AP_TN_SERVER_NO_TRACE
No tracing.
AP_TN_SERVER_ALL_TRACE
Tracing of all types.
If tracing is being used on specific interfaces, this parameter is set to one or more values from the list below,
combined using a logical
OR operation.
AP_TN_SERVER_TRC_TCP
TCP/IP interface tracing: messages between TN server and TN3270 clients
AP_TN_SERVER_TRC_FM
Node interface tracing: internal control messages, and messages between TN server and TN3270 clients
(in internal format)
AP_TN_SERVER_TRC_CFG
Configuration message tracing: messages relating to the configuration of TN server
3.163.4 Returned Parameters: Other Conditions
Appendix B, Common Return Codes lists further combinations of primary and secondary return codes that are
common to all NOF verbs.
3.164 QUERY_TP
QUERY_TP returns information about TPs that are currently using a local LU. This verb can be used to obtain
information about a specific TP or about multiple TPs, depending on the options used. This verb returns information
about current usage of the TPs, not about their definition; use QUERY_TP_DEFINITION to obtain the definition
of the TPs.
This verb must be issued to a running node.
3.164.1 VCB Structure
typedef struct query_tp
{
AP_UINT16 opcode; /* Verb operation code */
unsigned char reserv2; /* reserved */
unsigned char format; /* reserved */
AP_UINT16 primary_rc; /* Primary return code */
AP_UINT32 secondary_rc; /* Secondary return code */
unsigned char *buf_ptr; /* pointer to buffer */
AP_UINT32 buf_size; /* buffer size */
AP_UINT32 total_buf_size; /* total buffer size required */
AP_UINT16 num_entries; /* number of entries */
AP_UINT16 total_num_entries; /* total number of entries */
unsigned char list_options; /* listing options */
unsigned char reserv3; /* reserved */
679