DATFMT (Date Format) Keyword for Physical and Logical Files--Example

Figure 31 shows how to specify the DATFMT keyword.

Figure 31. Specifying the DATFMT Keyword

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A
00020A          R RECORD
00030A            DATFLD1         L         DATFMT(*JUL)
00040A            DATFLD2         L         DATFMT(*EUR)
     A

If the current date is June 21, 1990, the current system date format value is MDY, and the current system separator is /, DATFLD1 contains 90/172 (the 172nd day of the year 1990). DATFLD2 contains 21.06.1990.