You can convert SMF date and time formats to standard date and time formats. The following table shows the SMF formats and the converted output:
|
For DTn, the source is the 4-byte packed SMF date value (P'cyyddd'). For TMn, the source is a 4-byte binary SMF time value.
The c in the date source P'cyyddd' represents the century. It is converted as follows: 0 is converted to 19, 1 is converted to 20, and 2 or greater is converted to 21.
The converted output is a zoned decimal field, where each character in the table represents a single byte. For TM4, xx represents hundredths of a second.
The MFX predefined edit masks (M0-M26) or specified edit patterns can be used to edit the converted date and time. The default mask is M11.
For an example of an OUTREC control statement that converts SMF formats, see figure Sample OUTREC Control Statement.