Figure 134 shows how to specify the DATFMT keyword.
Figure 134. Specifying the DATFMT Keyword
|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8 00010A 00020A R RECORD 00030A DATFLD1 L B 5 2DATFMT(*JUL) 00040A DATFLD2 L B 5 22DATFMT(*EUR) 00050A DATFLD3 L B 5 42DATFMT(*JOB) A
If the date to be displayed is June 21, 1990, the date format defined in the Job Definition Attributes is *MDY and the date separator defined in the Job Definition Attributes is a slash (/), the following values are displayed when RECORD is written.
DATFLD1 90/172 DATFLD2 21.06.1990 DATFLD3 06/21/90
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.