Printing the trace records

To format and print the trace records, use the File Select and Formatting Print utility (DFSERA10).

The DC trace snaps DC control blocks and I/O buffers to the OLDS/WADS as X'6701' log records. These records are archived to the system log data set (SLDS).

To format and print the trace records, use the following method:

  • File Select and Formatting Print utility (DFSERA10)
    To use the File Select and Formatting Print utility (DFSERA10), specify E=DFSERA30 to format the records before printing. The following example shows the JCL you might use to print DC trace records.
     //  JOB jobname
     //S EXEC PGM=DFSERA10
     //SYSPRINT DD SYSOUT=A
     //SYSUT1   DD DSN=DSN of SLDS,..............
     //SYSIN    DD *
     CONTROL  CNTL
     OPTION   PRINT O=5,V=6701,L=2,T=X,E=DFSERA30
     //
    where

    O = Offset
    L = Length
    V = Value
    T = Type
    E = Exit

    Even if the DC trace was started for many terminals, you can print trace entries for a specific terminal by using the following OPTION statement.
     CONTROL CNTL DDNAME=....
     OPTION  PRINT O=5,T=X,L=1,V=67,C=M
     OPTION  PRINT O=89,T=C,L=8,V=xxxxxxxx,C=E,E=DFSERA30

    where xxxxxxxx = terminal (node) name

    A trace record might span several X'6701' log records. If you use the OPTIONS statements, only the first log record is printed.