Figure 316 shows how to specify the DATSEP keyword.
Figure 316. Specifying the DATSEP Keyword
|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8 00010A 00020A R RECORD1 00030A DATFLD2 L B 5 2DATFMT(*DMY) DATSEP('-') 00040A DATFLD4 L B 5 22DATFMT(*JUL) DATSEP(' ') 00050A DATFLD6 L B 5 42DATFMT(*JOB) DATSEP(*JOB) A
If you want to display the date 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 /, the following values will be displayed when RECORD1 is written.
DATFLD2 21-06-90 DATFLD4 90 172 DATFLD6 06/21/90
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.