RNF0593

The third parameter for %DIFF is not allowed with a date value.

20

Cause . . . . . : When the first or second parameter of built-in function %DIFF is of type date, the third parameter must be *YEARS, *MONTHS, *DAYS, *Y, *M, or *D. The built-in function is ignored.

Recovery . . . : Correct the third parameter for the built-in function. Compile again.