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

mq-set-throw-on-warnings

 
 

Library: Interfaces, MQSeries access (OMMQI)
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 ] [ LEGACYLIBRARIES ] [ ERRORS ]

OmniMark 7.1.2 Documentation Generated: June 28, 2005 at 5:45:32 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © Stilo Corporation, 1988-2005.