|
|||||
|
||||||
Related Syntax | Related Concepts | Other Library Functions |
function |
mq-set-throw-on-warnings |
Library: Interfaces, MQSeries access (OMMQI)
Include: ommqi.xin |
define external function mq-set-throw-on-warnings value switch throw-on-warnings
Argument definitions
Use mq-set-throw-on-warnings to set whether IBM MQSeries warnings (CompCode = MQCC_WARNING) will cause external exceptions to be thrown.
You must include the following line at the beginning of your OmniMark program:
include "ommqi.xin"
By default, if an IBM MQSeries call results in a warning, the warning is ignored. mq-set-throw-on-warnings allows this behavior to be changed, so that warnings are dealt with identically to errors on any subsequent ommqi calls.