3651 Internal error: Unexpected OTHERWISE on CASE statement.
An OTHERWISE on a CASE statement in the parser has been unexpectedly reached. One of the CASE values is not valid. This will most likely occur if the value accessed is not of the TYPE expected.
System Support Representative.
Save all relevant information, and contact your support representative.