add month compensation
Controls the behavior when months are added to a date and the resulting date is not valid. For example, adding 1 month to 10/31 technically results in 11/31, a non-valid date. When add month compensation is up, the resulting date is 12/1, while a value of down yields 11/30, and “error” will issue a diagnostic. Other values are not defined.
up
down
setting value
setting date format yyyy-Mmm-dd
setting date order ymd
setting add month compensation up
 
variable value
set variable new date #fd(plusm(fj("2012-Jan-31"),1))
setting value
setting date format yyyy-Mmm-dd
setting date order ymd
setting add month compensation down
 
variable value
set variable new date #fd(plusm(fj("2012-Jan-31"),1))