The second parameter for %SCAN or %SCANR is not valid; the built-in function is ignored.
20
Cause . . . . . : The second parameter for built-in function %SCAN or %SCANR must be of type character, graphic, or UCS-2.
Recovery . . . : Correct the second parameter for the built-in function. Compile again.