The first three parameters for %SCANRPL must all have the same type and CCSID.
20
Cause . . . . . : The first, second and third parameters for built-in function %SCANRPL must be either all character, all graphic, or all UCS-2, and they must all have the same CCSID.
Recovery . . . : Correct the parameters for built-in function %SCANRPL. Compile again.