Your MQAX script or application invokes an MQAX object's method, or accesses or updates a property of the MQAX object:
If the CompletionCode is greater than or equal to the ExceptionThreshold property of MQSession, MQAX throws an exception (number 32000). Use this within your script using the On Error (or equivalent) statement to process it.
MQAX: CompletionCode=xxx, ReasonCode=xxx, ReasonName=xxx
For more information on how to use the On Error statements, see the documentation for your ActiveX scripting language.
Using the CompletionCode and ReasonCode in the MQSession object is very convenient for simple error handlers.
ReasonName property returns the WebSphere MQ symbolic name for the current value of the ReasonCode.
The following rules describe how raising exceptions are handled:
Notices |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
amq743f |