CLDATE – Specific date (CLSD segment)
Use the CLDATE
statement to define
a specific date.
Keyword | Description |
---|---|
DATE |
Specifies a date in the YYMMDD format,
optionally followed by days of the week on which this date must fall to be set as a specific
date. |
DESCR |
Specifies a description of the specific date, up to 30 characters. |
STATUS |
Specifies the status of the specific date (which override the status
assigned to a day of the week):
|
In the following example, you create a free day for 18 May 2014:
CLDATE DATE(140518) STATUS(F)
In the following example, you create a free day if 24 December
is Monday:
VARDATE CL_BRIDGE ONLY(24) MONTH(DEC)
CLDATE DATE(!CL_BRIDGE,MONDAY)
In the following example, you create a free day if 25 December
is a weekday:
VARDATE CL_XMAS ONLY(25) MONTH(DEC)
CLDATE DATE(!CL_XMAS,MONDAY,TUESDAY,WEDNESDAY,THURSDAY,FRIDAY)