Macro Support for Dates
Validation of date strings in a macro takes place when it is performed. The format of date strings validate against a DATE column format or the default DATE format, both of which can change after creating the macro.
To guarantee that dates are properly validated, create or replace your macros by doing either or both of the following:
ANSI date literals are accepted as dates for any date operation.