ERBDSQRY/ERBDSQ64 data section layout

When ERBDSQRY completes successfully and returns control to your program, the answer area contains the common header plus one directory entry for each SMF record. The directory entry contains a record token created by ERBDSQRY, which may be used for a subsequent call to ERBDSREC to request the actual SMF record itself, and the SMF record header.

The complete layout for the answer area directory entry for request_type = SMF is:

This figure shows the layout for the answer area directory entry for request_type SMF. This figure is explained in the surrounding text.

where:

RECTOKENn
Record token provided by ERBDSQRY to be used on subsequent calls to ERBDSREC.
SMFHDRn
SMF record header (24 bytes) as described in z/OS MVS System Management Facilities (SMF). For SMF record types without subtypes, which have a header only 18 bytes long, bytes 19 to 24 contain hex zeros.
Name Length Format Description.
SMFxxLEN 2 Integer SMF record length
SMFxxSEG 2 Integer SMF segment descriptor
SMFxxFLG 1 Binary SMF system indicator
SMFxxRTY 1 Integer SMF record type
SMFxxTME 4 Integer SMF record time (1/100 sec)
SMFxxDTE 4 0CYYDDDF SMF record date
SMFxxSID 4 Char SMF system id
SMFxxSSI 4 Char SMF subsystem id
SMFxxSTY 2 Integer SMF record subtype

For request_type = SMF, the directory entries are sorted by:

  1. SMFxxDTE: SMF record date
  2. SMFxxTME: SMF record time
  3. SMFxxRTY: SMF record type
  4. SMFxxSTY: SMF record subtype
  5. SMFxxSID: SMF record system ID

For request_type = RMF™ only, each directory entry contains additional information from the RMF product section of the SMF record. The layout for request_type = RMF is:

This figure shows the layout for the answer area directory entry for request_type RMF. This figure is explained in the surrounding text.

where:

RMFINFOn
For request_type = RMF, this field contains 32 bytes of additional information from the RMF product section of the SMF record:
Name Length Format Description.
SMFxxDAT 4 0CYYDDDF RMF actual interval start date
SMFxxIST 4 0HHMMSSF RMF actual interval start time
SMFxxINT 4 MMSSTTTF RMF actual interval length
SMFxxOIL 2 Integer RMF projected interval length (seconds)
SMFxxSYN 2 Integer RMF synchronization value (seconds)
SMFxxLGO 8 (STCK) RMF offset GMT to local time
SMFxxGIE 8 (STCK) RMF projected interval end (GMT)

For request_type = RMF, the directory entries are sorted by:

  1. SMFxxDAT: RMF interval start date
  2. SMFxxIST: RMF interval start time
  3. SMFxxRTY: SMF record type
  4. SMFxxSTY: SMF record subtype
  5. SMFxxSID: SMF record system ID