Go To Documentation Main IndexMain Index
Go To TIPS, Inc.TIPS Home
ok_hol_table

ok_hol_table (routine)

Validate a given holiday table (list of julian holidays)

Introduced in release: 1.0
Component: Generic
Purpose: Tests the given holiday table to validate that each date given is in the correct format, and that they are in increasing order.

Special Considerations: It is not necessary to use this function if the holiday table has been created by the hol_maint routine. It can be useful, however, if holiday tables have been saved and restored, and may have been corrupted.

Results: The value of the function is true (1) if the holiday table is valid. Otherwise, the function returns false (0) and the status variable is set to the error.

Error Conditions: The variable status contains a non zero value upon returning from the function when the input contains an error.

 5400 = number of holidays less than zero or greater than 3000
 5401 = A specified holiday is before 01/01/1800 or after 12/31/2100

Last Mod Date: 04/19/1995© 2001 TIPS, Inc.Doc Version: 5.0