DATSEP (Date Separator) Keyword for Physical and Logical Files--Example

Figure 32 shows how to specify the DATSEP keyword.

Figure 32. Specifying the DATSEP Keyword

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A
00020A          R RECORD1
00030A            DATFLD2         L         DATFMT(*DMY) DATSEP('-')
00040A            DATFLD4         L         DATSEP(' ')
     A

If the current date is June 21, 1990, the current system date format value is MDY, and the system date separator value is '/', DATFLD2 contains 21-06-90. DATFLD4 contains 06 21 90.