Main Index |
TIPS Home |
ok_lt_MDYok_lt_MDY (routine)
Validate the last tranche date for a Spanish bond
Introduced in release: 1.0
Component: Non-US (developed mkts)
Purpose:
Validates the last tranche date for a Spanish bond.
last tranche date must be a valid date
last tranche date must be less than the maturity date
last tranche date must be in sync with the maturity date
Results:
The value of the function is true (1) if the date is valid. The value of the function is false (0) if the date is invalid. The variable status will contain the reason it is invalid.
Error Conditions:
The variable status contains a non zero value upon returning from the function when the inputs contain an error. Where x and y are single digits representing different dates as follows:
1 = maturity date
8 = last tranche date
The errors are:
110x = bad year in date
120x = bad month in date
130x = bad day in date
150x = required date not given
20xy = date x is not less than date y
21xy = date x is not less than or equal to date y
22xy = date x is not in sync with date y
| Last Mod Date: 10/24/1994 | © 2001 TIPS, Inc. | Doc Version: 5.0 |