The record format of the Cross-System Work Extract Data Set is variable blocked and the block size has to be large enough to contain a performance class record plus the fields CICS PA adds and any other user fields specified. CICS PA will assign default DCB attributes of RECFM=VB,LRECL=8188,BLKSIZE=8192 if they are not specified.
The format of the Cross-System Work Extract record is the same as that of a standard CMF performance class record. It corresponds to the default dictionary record for the latest release of CICS. The default is 680. For a complete description of each field and to understand how the fields are collected, see the CICS Performance Guide.
All the CICS fields listed in the table are the “standard” fields included in every data record written to the Cross-System Work Extract data set. In addition, the following five user fields are always written after the CICS fields:
CMF Field ID | Length | CMF Field Name |
---|---|---|
CICSPA A001 | 4 | TOTRECS |
CICSPA A002 | 4 | APPLRECS |
CICSPA A003 | 4 | TRANROUT |
CICSPA A004 | 4 | FUNCSHIP |
CICSPA A005 | 4 | DPLRECS |
Additional user fields can be requested and are placed in the output record following the listed fields. These additional fields cause the variable information in the dictionary to change, and affect the length of the records. The length of each additional field depends on the type of the field (and the specified range for character fields). For each additional user field, there is also an additional halfword inserted. The halfword contains a hex value that increments for each additional field. This increases the offset to each field by 2 for each user field that is requested and increases the size of the record.
The Cross-System Work Extract data set is normally in network unit-of-work ID sequence. Because the records must be sorted by their network unit-of-work, before they are combined, they are not in the same time sequence as when they were created. It is possible to sort the data set by time sequence if required. Simply use any SORT program and sort the time and date in the SMF header. This field is set to the stop time of the data recorded for each data record. To ensure that the dictionary is the first record in a sorted data set, the time and date in its SMF header is set to the earliest start time of any CMF record in the original data.