Using the IDCAMS utility

A sample of the JCL needed to print SMF records follows. The first step (SELECT) limits the amount of output to the record types or time frames that you need. If you want to print the entire data set, use only the second step (PRINT), defining the data set with the SMF records. These JCL statements and SMF dump parameters select and print SMF record type 74 that were written from 19:00 AM until 19:15 AM on April 3, 2016.
//SELECT    EXEC  PGM=IFASMFDP
//SYSPRINT  DD    SYSOUT=A
//IN        DD    DSN=data set containing SMF records
//OUT       DD    DSN=&&RMFREC,DISP=(NEW,PASS),UNIT=SYSDA
//SYSIN     DD    *
  INDD(IN,OPTIONS(DUMP))
  OUTDD(OUT,TYPE(74))
  START(1900)
  END(1915)
  DATE(20160403,20160403)
/*
//PRINT     EXEC  PGM=IDCAMS
//SYSPRINT  DD    SYSOUT=A
//RMFREC    DD    DSN=&&RMFREC,DISP=(OLD,PASS)
//SYSIN     DD    *
  PRINT   INFILE(RMFREC)
/*

z/OS MVS System Management Facilities (SMF) contains more information on the IFASMFDP dump program. z/OS DFSMS Access Method Services Commands contains more information about IDCAMS.

Because you do not specify the format on the PRINT statement, the format defaults to DUMP. The records are printed in a dump format. Figure 1 is an example of the SMF record dump format. The offsets are in the left column, and the right side of the dump contains a printable section to help find the fields of interest. Note that the PRINT utility does not include the record length and segment descriptor fields in its output. As a result, a field shown at offset 4 in an SMF record in z/OS MVS System Management Facilities (SMF) appears at offset 0 in the formatted dump. You must adjust subsequent offsets accordingly to refer back and forth from the formatted dump to the printed SMF records in z/OS MVS System Management Facilities (SMF).

Figure 1. Dump Format of SMF Record
IDCAMS  SYSTEM SERVICES                                           TIME: 13:28:15        04/28/15    PAGE      2

LISTING OF DATA SET -SYS1.SW.SMFIO

RECORD SEQUENCE NUMBER - 1
000000  1E02004E A56D0100 117FE5E2 D7D4                                             *...+._..."VSPM                  *

RECORD SEQUENCE NUMBER - 2
000000  DF4A0069 A70B0100 094FD6E2 F0F4D9D4   C6400002 00050000 00000044 00680001   *.........|OS04RMF ..............*
000020  000000AC 001C0001 000000C8 0038000E   000003D8 00580040 000019D8 002C00C0   *...........H.......Q... ...Q...{*
000040  606FD9D4 C6404040 40400185 900F0100   094F1500 000F0000 0000005A 00003000   *-?RMF     .......|.........!....*
000060  40404040 0009999F E5C5F0F2 F0F6F0F0   03E00438 B3D6ECD1 1A600000 00001AD2   *    ....VE020600.\...O.J.-.....K*
000080  74800000 00000000 00000000 03840DD4   B3D6ECD1 1A600000 E2D7D3C5 E7F0F140   *...............M.O.J.-..SPLEX01 *
0000A0  D6E2F0F4 40404040 00000000 00000000   00000000 00000000 00000000 00000000   *OS04    ........................*
0000C0  00000000 D6E2F0F1 40404040 00800000   00000008 00000000 00000000 00001B58   *....OS01    ....................*
0000E0  00000000 00000000 00000000 00000000   00000000 40404040 40404040 D6E2F0F1   *....................        OS01*
000100  40404040 00400000 00000002 00000000   00000000 00000ABE 00000000 00000000   *    . ..........................*
000120  0000007A 00000000 00003FBC C4C5C6C1   E4D3E340 D6E2F0F1 40404040 00400000   *...:........DEFAULT OS01    . ..*
000140  00000006 00000000 00000000 00001676   00000000 00006889 00000000 00000000   *................................*