CASE statement permitted usage differs in IQ and Anywhere.
The CASE statement is not supported in Adaptive Server Enterprise.