Using msgconsume with messaging can cause errors

[CR #426411] When you execute msgconsume within a transaction in Adaptive Server version 15.0 ESD #2, Adaptive Server aborts your command and terminates your session if the following conditions apply:

Workaround: