z/OS I/O trace

The I/O trace record is similar to the VTAM® buffer trace. However, instead of tracing in VTAM itself, this trace is taken by z/OS® in the I/O subsystem.

Only 36 bytes of data are traced. That is, 26 bytes of TH, 3 bytes of RH and up to 7 bytes of RU. The IO trace is only of use when you investigate the flow of PIUs on the session.

GTF should be started with option=RNIO before you start the I/O trace with the command:

 F VTAMDDF,TRACE,TYPE=IO,ID=LUDBD2
(F         is the z/OS modify command
 VTAMDDF   is the name of the VTAM startup procedure
 TRACE     indicates that the trace is being turned on
 TYPE=IO   indicates that this command affects the I/O
            trace
 ID=LUDBD2 indicates which node is to be traced.)

Stop the I/O trace and GTF after the event you are tracing occurs. Use IPCS or ACFTAP to format the output.

When formatting with ACFTAP in the SYSIN input commands, include INPUT=RNIO and PRINT=YES. Figure 2 shows an example of the output from the IO trace that is formatted by ACFTAP.

The information available in the buffer trace is generally available in the IO trace. The only difference is in the amount of RU data recorded, and the actual place of the recording.

The ACFTAP format of the IO trace is similar to the ACFTAP format of the VTAM buffer trace when you use PRINT=YES. 'IN' and 'OUT' indicate whether the data is inbound or outbound to VTAM from the network.

Figure 1. SMS trace printed by IPCS
   USRFD FF0 ASCB 00F9DB00            JOBN DBD2DIST
                 VTAM BUFFERS        MAXU      MAXQ      AVNO      TEXP      MBUF      TOTL
                        IO         00000008  00000000  000000C8  00000000  000000C8  000000C8
                        PP         00000000  00000000  00000000  00000000  00000000  00000000
                        LP         00000008  00000000  0000003B  00000000  00000040  00000040
                        WP         0000000A  00000000  00000044  00000000  0000004E  0000004E
                        NP         00000000  00000000  00000000  00000000  00000000  00000000
                        LF         00000002  00000000  00000027  00000000  00000029  00000029
             TIME    41772.136371
   USRFD FF0 ASCB 00F9DB00            JOBN DBD2DIST
                 VTAM BUFFERS        MAXU      MAXQ      AVNO      TEXP      MBUF      TOTL
                        CR         00000008  00000000  000000C1  00000000  000000C8  000000C8
                        UE         00000000  00000000  00000000  00000000  00000000  00000000
                        SF         00000004  00000000  00000060  00000000  00000064  00000064
                        SP         00000000  00000000  00000002  00000000  00000002  00000002
                        AP         00000000  00000000  00000010  00000000  00000010  00000010
             TIME    41772.136411