DSNH581I E csectname LINE nnnn COL cc THE DATA TYPES OF THE RESULT-EXPRESSIONS OF A CASE EXPRESSION ARE NOT COMPATIBLE

Explanation

A CASE expression in the statement has at least one result-expression (expressions following the THEN and ELSE keywords) whose data type does not match that of one of the other result-expressions.

System action

The statement was not processed.

Programmer response

Change the CASE expression so that the data types of all of the result-expressions are compatible.

Severity

8 (error)