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.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.