The first and second parameters of %SCAN or %SCANR are not of the same type.
20
Cause . . . . . : The first and second parameters for built-in function %SCAN or %SCANR must be either both character, both graphic, or both UCS-2. The CCSIDs of graphic and UCS-2 parameters must be the same or one CCSID must be 65535. The built-in function is ignored.
Recovery . . . : Correct the data types of the first two parameters of %SCAN or %SCANR. Compile again.