If the statement specifies a FORMAT phrase for the DATE, the character string must match that DATE format.
If the statement does not specify a FORMAT phrase for the DATE, the dateform of the current session determines the rules for character string DATE format, as follows:
| Current Session Dateform | Character String DATE Format Rule |
|---|---|
| INTEGERDATE | If DATE column definition specifies FORMAT phrase, character string must match that DATE format. If DATE column definition does not specify FORMAT phrase, character string must match 'YYYY/MM/DD' or default date format setting in specification for data formatting (SDF) file. |
| ANSIDATE | Field mode:
Record or indicator mode: Character string must match ANSI format ('YYYY-MM-DD'). |