DATFMT (Date Format) Keyword for Physical and Logical Files

Use this field-level keyword to specify the format of a date field. This keyword is valid only for date fields (data type L) or for logical file zoned fields (data type S), packed fields (data type P), or character fields (data type A) whose corresponding physical file fields are date fields (data type L).

The format of the keyword is:

DATFMT(date-format)

Other attributes of the DATFMT keyword specified for logical file fields are:

Attributes of the DATFMT keyword that apply to both physical file fields and logical file fields include the following: