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

ok_dow_occur (routine)

Validate the day of the week occurrence in the month

Introduced in release: 1.3
Component: Generic
Purpose: Tests the given day of the week occurrence in the month for a valid value. Valid values are:

 0 = Last occurrence
 1 = 1st occurrence
 2 = 2nd occurrence
 3 = 3rd occurrence
 4 = 4th occurrence
 5 = 5th occurrence

Results: The value of the function is true (1) if the day of the week is valid. The value of the function is false (0) if the one or two sided method flag is invalid. The variable status will contain the error code.

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

 2720 = Illegal value for day of the week occurrence in month

Last Mod Date: 01/20/1997© 2001 TIPS, Inc.Doc Version: 5.0