L581: RESULT-EXPRESSION DATA TYPES OF CASE EXPRESSION ARE NOT COMPATIBLE

See the section Error SQLCODES in your IBM Database Messages and Codes manual, message -581, for information.