2002

Description: Case command cannot be used after an Otherwise command.

Cause: The structure of the BeginCase … Case … Otherwise … End block does not allow a Case node after Otherwise. If used, otherwise must be the last 'node' in the BeginCase block before the end.

Resolution: Move the Case construct to before the Otherwise command.