3996 Right truncation of string data.
Explanation:
The user tried to assign a longer to a shorter string destination. This error can also occur if the length of one or more range boundaries in a RANGE_N function is a string literal with a length greater than that of the test value.
Generated By:
OPUCONEQ, OPT
For Whom:
End User.
Remedy:
If the error is related to the RANGE_N function, examine the data type of the test value and range boundaries to determine if range boundaries shorter that the test value may be used. If so, re-write the function expression.