|
|||||
|
|||
Functions | Platforms | ||
Interfaces, MQSeries access (OMMQI) |
Interfaces, MQSeries access (OMMQI) is packaged separately from OmniMark. The following describes version 1.0 of Interfaces, MQSeries access (OMMQI).
OMMQI is the OmniMark MQSeries interface library, a set of functions which makes the IBM MQSeries client API available to OmniMark programs. This library requires an installed and configured IBM MQSeries client version 5.2 or later.
The library consists of the following files:
OMMQI functions allow you to:
mq-connect
, mq-connectx
and mq-disconnect
)
mq-open
and mq-close
)
mq-put
and mq-put1
)
mq-get
)
mq-commit
and mq-backout
)
mq-inquire
, mq-inquire-names
and mq-set
)
The primary OMX components in this library are used to encapsulate connections to queue managers and IBM MQSeries objects (such as queues):
mq-connection
-- encapsulates a connection to a queue manager
mq-object
-- encapsulates a connection to an IBM MQSeries objects such as a queue
OMX components are available for each of the implemented MQSeries client API structures, as well as functions for getting and setting their values. See the Object Descriptions document for details.
To use the OMMQI functions in your OmniMark program, you have to add the following statement to your program:
include "ommqi.xin"
Two types of external exceptions can be throw by the OMMQI: validation exceptions from the OmniMark library, and MQSeries errors from the MQSeries client library. See the ommqi error handling document for details.
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 |
Platforms HP/UX IBM AIX Linux (Intel) MS Windows 98/ME MS Windows NT/2000/XP Sun Solaris |