Product Documentation
Abstract
This document provides information on the Trace 5250 Sessions function in the QMGTOOLS library.
Content
Information regarding the Trace 5250 Sessions function in the Client/Server menu of QMGTOOLS.
Data gathered
- Starts up a TRCCNN for ports 23 and 992
- Option to trace the telnet server via TRCTCPAPP
- Option to dump connection status, interface status, and routes from NETSTAT
Step 1 Install QMGTOOLS
If the QMGTOOLS toolkit has not yet been installed, you should refer to the following document for how to download and install the QMGTOOLS toolkit on your IBM i server.
Step 2 To get to the Trace 5250 Sessions function, either prompt (F4) on command QMGTOOLS/#5250COL or get to the Trace 5250 Sessions option from the main QMGTOOLS menu (GO QMGTOOLS/MG).


Starting the trace
| Function | *START - to start the trace |
| Trace size | Size in megabytes for the trace connectioin |
| Trace telnet server | Y/N option to run TRCTCPAPP *TELNET |
| Dump netstat when stopped | when the trace is stopped, dump connection status, interface status, and routes |
| Local IP to trace | specify a specific IP address or *ALL |
| Remote IP to trace | specify a specific IP address or *ALL |
| Message ID to trigger | start up a watch for up to 3 message IDs to end the trace |
| Trigger on VLOG | start up a watch for up to 3 VLOGS to end the trace |
Stop or Dump trace
Use the *STOP function to stop the traces. Use *DUMP to dump the traces. You can use *DUMP without using *STOP first as that will stop and then dump the traces.
When using *DUMP, there are 2 options on where to store the data.
- *PF for storing the data in a physical file. After the data is copied to the physical file, the file will be saved as a save file in the select library as IBMDATAxxx where xxx is a number.
- *IFS for storing the data in the IFS. After the data is copied to the IFS, the directory will be zipped into file /tmp/IBMDATAxxx.zip where xxx is a number
Delete trace
Use the *DELETE to stop (if it was running) and delete the traces in the buffer.
Step 3 Sending data to IBM
QMGTOOLS: FTP Data to IBM
QMGTOOLS: Sending Data to IBM Manually
Document Location
Worldwide
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Component":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB57","label":"Power"}}]
Was this topic helpful?
Document Information
Modified date:
18 December 2019
UID
ibm10872808