You can start or stop a communication line trace on a configuration object.
After you run the trace, the data can be formatted. You can view the formatted data by printing it.
Running and interpreting the communications trace requires detailed knowledge of communications protocols. To obtain the most accurate sample of your line status, whenever possible, start the communications trace before varying on the lines.
This function key starts the tracing of the data on a communications configuration object. The Start Trace display appears after you press this function key. For more information, see Starting a communications trace.
This option appears only on the Work with Communications Traces display. With this option, you can end the trace and stop collecting data. A trace must be stopped before you can format, print, or delete the data. To ensure that the trace is stopped, press the Refresh function key and check the Trace Status field.
The trace must be stopped (option 2) before you can use this option. Select this option to delete the trace information when you no longer need the data. Traces are not automatically deleted when you leave a communications trace function. This option releases system space so that you can start other traces without having to increase the maximum amount of storage provided for the communications trace. Traces that are not deleted are listed on the Work with Communications Traces display.
Use this option to format and print the trace. For more information about this option, see page Format and print trace.
Use this option to view a message that indicates the status of the trace that stopped because of an error.
Use this option to start a trace that has been stopped.
Use this function key to change the amount of storage that all traces use. You might want to increase the amount of storage, if your system has many active traces or traces that will be active for a long time.
With this function key, you can select and alternate between buffer size and trace status.
This function key updates the data on the display.
Work with Communications Traces
Type choice, press Enter.
2=Stop trace 4=Delete trace 6=Format and print trace
7=Display message 8=Restart trace
Configuration
Opt Object Type Trace Description Protocol Trace Status
_ LosAngeles Line Test LosAngeles Line SDLC Active
_ Mpls NWI Test Mpls ISDN Stopped
_ Tucson Line Test Tucson Line ASYNC Waiting
F3=Exit F5=Refresh F6=Start trace F10=Change size
F11=Display buffer size F12=Cancel
Details of the trace, including status, are displayed. The trace status can be one of the following options:
Start Trace
Configuration object . . . . . . . . . _________
Type . . . . . . . . . . . . . . . . . 1 1=Line 2=Network interface
3=Network server
Trace description . . . . . . . . . . ____________________
Buffer size (in kilobytes) . . . . . . 1 1=128, 2=256, 3=2M, 4=4M,
5=6M, 6=8M, 7=16M, 8=32M, 9=64M
Stop on buffer full . . . . . . . . . N Y=Yes, N=No
Data direction . . . . . . . . . . . 3 1=Sent, 2=Received, 3=Both
Number of bytes to trace
Beginning bytes . . . . . . . . . . *CALC VALUE, *CALC
Ending bytes . . . . . . . . . . . *CALC VALUE, *CALC
Type choices, press Enter.
F3=Exit F5=Refresh F12=Cancel
Enter the name of a communications
configuration object description in the Configuration object field.
Describe the trace in the Trace description field. This field can help you identify the trace.
You can select a buffer size to hold the communications data that the trace collects. The default buffer size is 1=128KB. Base the size of the buffer on the speed of the communications line and on the amount of time necessary to trace the data. For high-speed lines or long periods of tracing, use a larger buffer size.
If you specify Yes in the field, the trace stops when the buffer is full. This option is useful for viewing the initial data that is coming across a line. If you specify No, the trace continues until you stop it. In this case, the data in the buffer will be written over each time the buffer is full.
You can select how much data is traced in a frame of data. The value that is entered is the amount that is saved as part of the trace. The minimum value that is allowed for both the beginning and the end value is 36 bytes. Those 36-byte minimum values include the protocol header. The configuration object you are tracing determines the maximum value that is allowed.
When all required options are complete, press the Enter key. The Work with Communications Trace display is shown.
If the communications object being traced is in varied off status when you start the trace, the trace remains in waiting status until you vary on the communications object. If the object is varied on, the trace will immediately go to the active state, and the system will begin to collect trace data.
Traces are not automatically deleted when you exit a communications trace function. To return to the communications trace, complete the following steps:
Format Trace Data
Configuration object . . . . . . TRNLINE
Type . . . . . . . . . . . . . . LINE
Type choices, press Enter.
Controller . . . . . . . . . . *ALL *ALL, name
Data representation . . . . . 3 1=ASCII, 2=EBCDIC, 3=*CALC
Format RR, RNR commands . . . N Y=Yes, N=No
Format Broadcast data . . . . Y Y=Yes, N=No
Format MAC or SMT data only. . N Y=Yes, N=No
Format UI data only . . . . . N Y=Yes, N=No
Format TCP/IP data only . . . N Y=Yes, N=No
F3=Exit F5=Refresh F12=Cancel
When the format of the trace data is complete, the output can be printed on the console printer (the printer that is attached to the same I/O processor as the console). Only SCS-type data streams are supported.
Record Data Record Record Data Controller Number Number Poll/
Number S/R Length Status Timer Type Name/Number Command Sent Received Final
------ --- ------ -------- --------------- ------ ------------- ------- ------ -------- -----
7 R 69 00000000 12:29:56.72963 EBCDIC ZSDLLC30 /01 XID ON
Data . . . . . : 3245056150080000 0084C00000000000 01010B0000010900 00000007000E0DF4 *.&;...D{....................4*
DADBCC4BDACBCDCE EFCGC5F31017F116 1101130011F9F4F0 F6F5F0F0F1F0F1F0 *ABC.ABCDEFG..1......94065001010*
C4C6C44040 *DFD *
8 S 0 00000000 12:29:56.76081 EBCDIC ABCLLC30 /01 SNRM ON
9 R 0 00000000 12:29:56.78450 EBCDIC ABCLLC30 /01 UA ON
52 S 110 00000000 12:29:57.76210 EBCDIC ABCLLC30 /01 I 0 0 ON
Data . . . . . : 2D00010200006B81 0031001307B0B051 3107878686870706 0200000000000000 *......,A..........GFFG..........*
944300000CDADBCC 4BEAEBCCD3D3C4F3 F02E000902E2D5C1 E2E5C3D4C7090300 *M....ABC.AABCLLD30....SNASVCMG...*
00BCF9CAD600000D 04DADBCC4BEAEBCC D3D3C4F3F00A1300 7B00BCF9CAD60000 *..9.O....ABC.ABCLLD30...#..9.O..*
000CDADBCC4BEAEB CCD3D3C4F4F0 *..ABC.ABCLLD40 *
53 R 110 00000000 12:29:57.80065 EBCDIC ABCLLC30 /01 I 0 1 ON
Data . . . . . : 2F00010200006B81 0031001307B0B051 3107878686870706 0200000000000000 *......,A..........GFFG..........*
944300000CDADBCC 4BEAEBCCD3D3C4F4 F02E000902E2D5C1 E2E5C3D4C7090300 *M....ABC.ABCLLD40....SNASVCMG...*
00BCF9D56600000D 04DADBCC4BEAEBCC D3D3C4F4F00A1300 7B00BCF9D5660000 *..9N.....ABC.ABCLLD40...#..9N...*
000CDADBCC4BEAEB CCD3D3C4F3F0 *..ABC.ABCLLD30 *
* * * * * E N D O F E X A M P L E P R I N T O U T * * * * *
The width of the file is 132 characters. The data is in hexadecimal representation and either American National Standard Code for Information Interchange (ASCII) or EBCDIC character representation. The columns of the trace output that are common to all protocols follows: