swirl
Guide to OmniMark 8   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
  Related Syntax   Related Concepts   Other Library Functions  
function  

mq-set-throw-on-warnings

 
 

Library: MQSeries access (OMMQI) legacy
Include: ommqi.xin

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 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
 
 

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

OmniMark 8.2.0 Documentation Generated: March 13, 2008 at 3:27:39 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2008.