You can use the quality of service (QoS) trace to work with trace functions and to see the current trace buffer.
To run the trace on the system, type TRCTCPAPP (Trace TCP/IP Application command) from a command-line interface.
Here is a sample of the trace selections to complete:
TCP/IP application...........> *QOS Trace option setting.........> *ON Maximum storage for trace....> *APP Trace full action............> *WRAP Argument lists...............> 'lvl=4' QoS trace type...............> *ALL
The following table introduces the possible parameters to use in a trace. If a setting is not displayed on the character-based interface, enter it in a command. For example, TRCTCPAPP APP(*QOS) MAXSTG(1000) TRCFULL(*STOPTRC) ARGLIST('l=4 c=i').
Settings | Options |
---|---|
TCP/IP application | QOS |
Trace option setting | *ON, *OFF, *END, *CHK |
Maximum storage for trace (MAXSTG) | 1-16000, *APP |
Trace full action (TRCFULL) | *WRAP, *STOPTRC |
Argument lists (ARGLIST) | Levels: 'lvl=1', 'lvl=2', 'lvl=3', 'lvl=4' Content: 'c=a', 'c=i', 'c=d' , 'c=m' |
QoS trace type | *ALL |
The argument lists specify which error levels and content are logged. There are two arguments allowed in the TRCTCPAPP command: trace level and trace content. When you specify the trace level and trace content, make sure all attributes are contained in a single set of quotation marks, for example, TRCTCPAPP 'l=4 c=a'
Log levels are inclusive. This means that when you select a log level, all previous log levels are also selected. For example, if you select level 3, then levels 1 and 2 are automatically included. In a typical trace, it is recommended you specify 'l=4'.
Only specify one content type. If you do not specify what content to trace, then (by default) all content will be traced.
If you need help interpreting the trace output, read the trace output example on the trace output page, which contains sample output with comments to help you interpret its meaning. The TRCTCPAPP function is typically used by the service, so if you have problems reading the output, you might contact your service representative.