Starting manager traces

To obtain traces when the SNMP manager being used is the z/OS® UNIX snmp command, issue snmp with the -d option. You can specify a trace level of 0-4. A trace level of 0 provides no tracing, while a level 4 provides all traces. Tracing for snmp is done on a per-request basis. Traces return to the console, but they can be redirected to a file issuing the OMVS redirect operand (>).

When NetView® SNMP is being used, traces for the SNMP Query Engine can be obtained by starting the SNMP Query Engine and specifying -d trace_level where trace_level is one of the following:
1
Display errors.
2
In addition to trace level 1, also display SNMP query stack protocol packets exchanged between the SNMP query stack and the SNMPIUCV subtask, with the exception of TRAP packets sent to NetView from the query stack.
3
In addition to trace level 2, also display decoded SNMP protocol packets sent and received along with some additional informational messages.
4
In addition to trace level 3, display the BER-encoded packets received from NetView or from an SNMP agent. Also, add display of SNMP query stack protocol packets for TRAPs sent from the query stack to NetView.
For example:
//SNMPQE   EXEC PGM=SQESERV,REGION=4096K,TIME=1440,PARM='-d 3'

Also, the -it option can be used to obtain a trace of IUCV communication.

SNMP Query Engine trace output is sent to the SYSPRINT DD specified in the Query Engine JCL.