swirl
Guide to OmniMark 9   OmniMark home
docs home 
 
  Related Topics   Other Library Functions  
function  

mq-set-throw-on-warnings

 
 


Declaration

define external function mq-set-throw-on-warnings
          value     switch    throw-on-warnings

Argument definitions

throw-on-warnings
specifies whether ommqi will throw an external exception if an IBM MQSeries call returns a warning.


Purpose

Use mq-set-throw-on-warnings to set whether IBM MQSeries warnings (CompCode = MQCC_WARNING) will cause external exceptions to be thrown.

Requirements

You must include the following line at the beginning of your OmniMark program:

  include "ommqi.xin"

Usage Notes

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 Topics
 
Other Library Functions
 
 

Top [ INDEX ] [ CONCEPTS ] [ TASKS ] [ SYNTAX ] [ LIBRARIES ] [ LEGACY LIBRARIES ] [ ERRORS ]

OmniMark 9.1.0 Documentation Generated: September 2, 2010 at 1:38:10 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2010.