Code Comments
Programming Forum and web based access to our favorite programming groups.Hello Everyone, In a COBOL-DB2 program: EXEC SQL SELECT CASE WHEN (CONDTION 1 AND CONDITION 2) THEN 'FIRST MET' ---------------------------------------------------------------------------- ---> WHEN (CONDITION 3 AND CONDITION 4) THEN 'SECOND MET' WHEN (CONDITION 4 AND CONDITION 5) THEN 'THIRD MET' ELSE 'NONE' END INTO :MESSAGE FROM TABLE WHERE ..... END-EXEC for some reason when any condition after the first WHEN ,is met... I get an empty message, even the else doesn't get executed. Can anyone shed a light on this ? thank you in advance for any kind of help. Houman
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.