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

ok_wam (routine)

Validate the given WAM in months for an MBS

Introduced in release: 1.0
Component: US MBS
Purpose: Test the given weighted average maturity for a MBS. It must be greater than 0 and less than or equal to the original term.

Results: The value of the function is true (1) if the WAM is valid. The value of the function is false (0) if the WAM 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 input contains an error.

 11901 = wam is less than or equal to zero
 11902 = wam is greater than the original term

Last Mod Date: 04/22/1991© 2001 TIPS, Inc.Doc Version: 5.0