Verification
After completely the necessary configuration, verify that MQ messaging is working correctly.
MQ functions must be used within a transaction. For functions that use the EXECUTE statement, you must explicitly start the transaction with a BEGIN WORK statement. For functions that use the SELECT, UPDATE, DELETE, or INSERT statements, you do not need to use a BEGIN WORK statement.
For more information about all of the functions used below, see MQ messaging functions.