Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP 9000 Networking: HP-UX SNAplus2 Administration Command Reference > Chapter 3 Commands (query_3270_diag to query_userid_password)

query_cs_trace

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

The query_cs_trace command returns information about the current tracing options for data sent between computers on the SNAplus2 LAN. For more information about tracing options, refer to HP-UX SNAplus2 Diagnostics Guide.

This command may be issued to a running node or to a HP-UX client computer on which the SNAplus2 software is running. To issue the command to a client computer, use the snapadmin program on the client computer without specifying a node name.

On Windows clients, client-server tracing is controlled by options in the sna.ini file (Win16 clients) or the Windows Program Registry (Win32 clients). For more information, refer to HP-UX SNAplus2 Diagnostics Guide.

Supplied Parameters

Parameter name         Type         Length     Default
[query_cs_trace]
dest_sys character 64 (null string)

Supplied parameter is:

dest_sys

The server name for which tracing options are to be queried.

To query tracing options on messages flowing between the computer to which this command is issued (either the local computer or one identified by the -n option on the snapadmin program) and one other server on the LAN, specify the name of the other server.

To query the default tracing options (set by a set_cs_trace command with no system name), do not specify this parameter.

Returned Parameters

Parameter name           Type 
trace_flags constant
trace_direction constant

If the command executes successfully, SNAplus2 returns the following parameters:

trace_flags

The types of tracing currently active. For more information about these trace types, see set_cs_trace.

If no tracing is active or if tracing is active for all types of messages, one of the following values is returned:

NONE

Tracing for all types of messages is active.

ALL

Tracing for all types of messages is active.

If tracing is active on specific interfaces, one or more of the following values is returned (combined using a + character):

CS_ADMIN_MSG

Internal messages relating to client-server topology are traced.

CS_DATAGRAM

Datagram messages are traced.

CS_DATA

Data messages are traced.

trace_direction

Specifies the direction or directions in which tracing is active. This parameter is not returned if trace_flags is set to NONE. Possible values are:

CS_SEND

Messages flowing from the target computer to the computer defined by dest_sys are traced.

CS_RECEIVE

Messages flowing from the computer defined by dest_sys to the target computer are traced.

CS_BOTH

Messages flowing in both directions are traced.

Error Return Codes

If the command cannot be executed, SNAplus2 returns a primary return code to indicate the type of error and a secondary return code to provide specific details about the reason for unsuccessful execution.

Parameter Check

If the command does not execute because of a parameter error, SNAplus2 returns the following parameters:

primary_rc

PARAMETER_CHECK

secondary_rc

Possible values are:

NAME_NOT_FOUND

The server specified by the dest_sys parameter was not valid or was not started.

LOCAL_SYSTEM

The server specified by the dest_sys parameter is the same as the target node to which this command was issued.

State Check

No specific state errors, other than those listed in Appendix A “Common Return Codes from snapadmin Commands” occur for this command.

Other Conditions

Appendix A “Common Return Codes from snapadmin Commands” lists combinations of primary and secondary return codes that are common to all commands.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2001 Hewlett-Packard Development Company, L.P.