Previous Topic: External FormatNext Topic: Date (DTE)


Validation

DT# fields are automatically validated by . ISO dates are automatically translated from external to internal format and vice-versa. Dates are validated to be in the external format when entered on a panel, and converted to the internal format before being written to a file.

The date is not converted if its day, month, or year is out-of-range. Instead, the message "Invalid date" is issued and the date is redisplayed in reverse image according to the output edit code.

CA 2E generates ISO dates as the i OS Date type with DATFMT(*ISO) and assimilates i OS Date fields as type DT#.

Examples of DT# fields include: