Sample JCL to format SMF records
z/OS® Connect EE provides sample programs for formatting SMF 123 subtype 1 records. Choose the sample to use based on the version of the records you are formatting.
Note: To use any of these samples you must first edit the JCL to replace the necessary values by following the instructions in the sample.
Formatting SMF 123 subtype 1 version 1 records
To format SMF 123 subtype 1 version 1 records, dump your SMF data set to a raw file and use the sample JCL provided in <hlq>.SBAQSAMP(BAQS123). The JCL uses the ICETOOL utility and formats the user data section.
Formatting SMF 123 subtype 1 version 2 records
To format SMF 123 subtype 1 version 2 records, use either of these samples to dump your SMF data to a file and format the records:
- <hlq>.SBAQSAMP(BAQS123A) uses the ICETOOL utility but only formats the
first request data section in the record. The
BAQS123Asample is only suitable when all SMF 123 type 1 records in the SMF data sets are at version 2. If any SMF 123 type 1 version 1 records are found, the sample job will fail with the following message:
ICE218A 3 1188 BYTE VARIABLE RECORD IS SHORTER THAN 1804 BYTE MINIMUM FOR FIELDSThis is a limitation of the z/OS ICETOOL utility that is used by the sample program.
- <hlq>.SBAQSAMP(BAQSMFP) uses a sample C program and formats all the request data sections in an entire version 2 record.