5327 ADD_MONTHS has been called with wrong data types or values.
The first argument of ADD_MONTHS must be of the TDBS DATE Type, and the second argument must be a BYTEINT,SMALLINT or INTEGER. The values of the first argument, DATE, and the second, MONTHS, must be in ranges such that the resulting date has a Year value between 0000 and 3500.
Optimizer or Evl procedures.
Use values of proper types and ranges.