| Note: Usage options |
The DATECHECK command is used to check if a date field is valid against one of five possible formats and optionally that the date is within a certain number of days before and/or after the current date.
7.19.2 DATECHECK Comments / Warnings
Required DATECHECK ---- FIELD --------- field name ---------------------> -------------------------------------------------------------------- >-- IN_FORMAT -- *SYSFMT ------------------------> >-- BEFORE ----- 9999999 -------------------------> >-- AFTER ------- 9999999 ------------------------> >-- IF_VALID --- *NEXT -----------------------------> >-- IF_INVALID - *ERROR ----------------------------> >-- MSGTXT ---- *NONE ----------------------------> >-- MSGID ----- DCU0006 --------------------------> >-- MSGF ----- DC@M01 . *LIBL --------------------> >-- MSGDTA-- substitution variables ----------------| |