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

ok_dow (routine)

Validate the day of the week

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

 1 = Mon
 2 = Tues
 3 = Wed
 4 = Thurs
 5 = Fri
 6 = Sat
 7 = Sun

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.

 2710 = Illegal value for day of the week

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