TCP/IP communication trace formatting

The Trace TCP/IP Application (TRCTCPAPP) command can be used to break down DRDA® and DDM flows into an easier-to-read logical representation. It also displays the information in ASCII which can be of help in unlike environments.

To request this formatting, enter the following while ending the communications trace:

TRCTCPAPP APP(*DDM) SET(*OFF) ARGLIST('lvl=2')

Here is an example of an unformatted trace, edited to fit the width of this topic:

0080D0010001007A 200100162110D9C3 C8C1E2D5E3E24040
4040404040404040 *..}....:......RCHASNTS *
0006210F2407000D 002FD8E3C4E2D8D3 F4F0F0000C112ED8
E2D8F0F5F0F3F000 *..........QTDSQL400....QSQ05030.*
0A00350006119C00 2500062121241E00 062120241E0010D1
2A01000000000000 *.......................J........*
0000000000001621 35C1D7D7D54BD3D7 F0F6F6C1C2B9191C
F706F90005213BF1 *.........APPN.LP066AB...7.9....1*

This is the same trace, formatted using TRCTCPAPP:

-Datastream----------------------------------------------------------- 
DATA:             (ASCII)           (EBCDIC) 
0080D0010001007A  200100162110D9C3  .8'.....a...b.êã .0}....:......RC 
C8C1E2D5E3E24040  4040404040404040   ç ë+èë.......... HASNTS 
0006210F2407000D  002FD8E3C4E2D8D3  .Lb.f"....éèàëé< ..........QTDSQL 
F4F0F0000C112ED8  E2D8F0F5F0F3F000  .......éëé...... 400....QSQ05030. 
0A00350006119C00  2500062121241E00  C...L.ó...LbbfK. ......ä......... 
062120241E0010D1  2A01000000000000  LbafK..¢k....... .......J........ 
0000000000001621  35C1D7D7D54BD3D7  .......b. &&+.<& .........APPN.LP 
F0F6F6C1C2B9191C  F706F90005213BF1  ... â¨.c.L...bB. 066AB¾..7.9....1 
-Parsed--------------------------------------------------------------- 

RECV(AS) RQSDSS - Request Data Stream Structure 

LL: 128 CORR: 0001 CHAINED: n CONT ON ERR: n SAME CORR FOR NEXT DSS: n 

NM: ACCRDB - Access RDB 

LL: 122 CP: 2001 

NM: RDBNAM - Relational Database Name 

LL: 22 CP: 2110 

ASCII: êãç ë+èë.......... 

EBCDIC: RCHASNTS 

NM: RDBACCCL - RDB Access Manager Class 

LL: 6 CP: 210F 

CODE POINT DATA: 2407 

NAME: SQLAM - SQL Application Manager 

NM: TYPDEFNAM - Data Type Definition Name 

LL: 13 CP: 002F 

ASCII: éèàëé<... 

EBCDIC: QTDSQL400 

NM: PRDID - Product-Specific Identifier 

LL: 12 CP: 112E 

DATA:                (ASCII)       (EBCDIC) 

D8E2D8F0F5F0F3F0     éëé.....     QSQ05030 

NM: TYPDEFOVR - TYPDEF Overrides 

LL: 10 CP: 0035 

NM: CCSIDSBC - CCSID for Single-Byte Characters 

LL: 6 CP: 119C 

DATA:      (ASCII)     (EBCDIC) 

0025       ..           .. 

NM:  STTDECDEL - Statement Decimal Delimiter 

LL: 6 CP: 2121 

CODE POINT DATA: 241E 

NAME: DFTPKG - Package Default 

NM: STTSTRDEL - Statement String Delimiter 

LL: 6 CP: 2120 

CODE POINT DATA: 241E 

NAME: DFTPKG - Package Default 

NM: SXXPRDDTA - Extended Product Data 

LL: 16 CP: D12A 

DATA:              (EBCDIC) 

0100000000000000   00000000 ............ 

NM: CRRTKN - Correlation Token 

LL: 22 CP: 2135 

DATA:             (ASCII)            (EBCDIC) 

C1D7D7D54BD3D7F0  F6F6C1C2B9191CF7  &&+.<&... â¨.c. APPN.LP066AB¾..7 

06F9 L. .9 

NM: TRGDFTRT - Target Default Value Return 

LL: 5 CP: 213B 

BOOLEAN: TRUE 
Related information
Trace TCP/IP Application (TRCTCPAPP) command