L580: THE RESULT-EXPRESSIONS OF A CASE EXPRESSION CANNOT ALL BE NULL

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