HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
QUERY_TRACE_TYPE
trace_le_size
The maximum size of the trace le. If dual_les is set to
AP_YES, tracing will switch between the two les
when the current le reaches this size. If dual_les is set to
AP_NO, this parameter is ignored; the le size is
not limited.
le_name
Name of the trace le, or of the rst trace le if dual_les is set to
AP_YES. This parameter is an ASCII
string of 180 characters, followed by a NULL character (binary zero).
If no path is included, the le is stored in the default directory for diagnostics les,
/var/opt/sna if a path
is included, this is either a full path (starting with a / character) or the path relative to the default directory.
le_name_2
Name of the second trace le; this parameter is used only if dual_les is set to
AP_YES. This parameter is an
ASCII string of 180 characters, followed by a NULL character (binary zero).
If no path is included, the le is stored in the default directory for diagnostics les, /var/opt/sna if a path
is included, this is either a full path (starting with a / character) or the path relative to the default directory.
3.167.4 Returned Parameters: Parameter Check
If the verb does not execute because of a parameter error, SNAplus2 returns the following parameters:
primary_rc
AP_PARAMETER_CHECK
secondary_rc
AP_INVALID_FILE_TYPE
The trace_le_type parameter was not set to a valid value.
Appendix B, Common Return Codes lists further secondary return codes associated with
AP_PARAMETER_CHECK,
which are common to all NOF verbs.
3.167.5 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.168 QUERY_TRACE_TYPE
This verb returns information about the current tracing options for SNAplus2 kernel components. For more
information about tracing options, see the HP-UX SNAplus2 Administration Guide.
This verb does not return information about DLC line tracing. To do this, use the QUERY_DLC_TRACE verb.
This verb must be issued to a running node.
3.168.1 VCB Structure
typedef struct query_trace_type
{
AP_UINT16 opcode; /* verb operation code */
unsigned char reserv2; /* reserved */
692