Generating records with Extended headers

Records with a new type or subtype or both can be designed to contain the SMF Extended record header. The standard header only supports record type values up to 255. The extended header can support type values 0 - 2047. The following rules must be followed for SMF to successfully write a record that contains an extended header:
  • Record length at offset 0 must be at least 56 (X'38').
  • Bit 1 at offset 4 must be on.
  • Bit 2 at offset 4 must be on.
  • Record type at offset 5 must be 126 (X'7E').
  • Extended header length at offset 24 (X'18') must be 32 (X'20').
  • Version at offset 26 (X'1A') must be 1.
  • The value at offset 52 (X'34') must be a value 0 - 2047 (X'0' - X'7FF').

If validation fails for any of these rules, SMFWTM or SMFEWTM fails the request to write the record with an extended header.