The first and second parameters of %SCAN are not of the same type.
20
Cause . . . . . : The first and second parameters for built-in function %SCAN 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. %SCAN is ignored.
Recovery . . . : Correct the data types of the first two parameters of %SCAN. Compile again.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.