The second parameter for %CHAR is not valid.
20
Cause . . . . . : If the first parameter for %CHAR is a date value, the second parameter must be a valid date format. If the first parameter is a time value, the second parameter must be a valid time format. If the first parameter is a timestamp value, the second parameter must be a valid timestamp format. The built-in function is ignored.
Recovery . . . : Correct the second parameter for the built-in function. Compile again.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.