Administration Commands
query_cs_trace
To query the default tracing options (set by a set_cs_trace command with no system name), do not specify this parameter.
2.115.2 Returned Parameters
Parameter name | Type |
trace_flagsconstant
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 Section 2.186, 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
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.
2.115.3 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
333