|  | 
 | ||||
|        | |||||
|  | ||||||
| Related Syntax | Related Concepts | Other Library Functions | ||||
| function | mq-set-throw-on-warnings | 
| Library: MQSeries access (OMMQI) legacy 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.
| Related Syntax mq-get-throw-on-warnings | Related Concepts ommqi Error Handling | Other Library Functions mq-backout mq-close mq-commit mq-connect mq-connection mq-connectx mq-disconnect mq-get mq-get-entire-return-status mq-get-function-status mq-get-logging-level mq-get-throw-on-warnings mq-inquire mq-inquire-names mq-object mq-open mq-put mq-put1message mq-set mq-set-logging-level mq-set-throw-on-warnings | 
Copyright © Stilo International plc, 1988-2008.