CreateException Macro | VantageCloud Lake - CreateException - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
Language
English (United States)
Last Update
2024-04-03
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905

You can use this macro to define an exception list for a specific business calendar. The list identifies all of the days (by date) of the calendar that are exceptions to the pattern defined for the calendar.

When you run the macro, the exceptions in the list are inserted into the calendar and into the DBC.BusinessCalendarException table.

If you try to define an exception for a date that is already an exception, an error is returned. To replace the existing exception, you must first delete the existing exception then redefine a new one for the date.