EGL Reference Guide for iSeries

Connections

You connect to a queue manager (called the connecting queue manager) the first time you invoke a statement from the following list:

You can access only one connecting queue manager at a time; however, you can access multiple queues that are under the control of the connecting queue manager. If you wish to connect directly to a queue manager other than the current connecting queue manager, you must disconnect from the first by invoking MQDISC, then connect to the second queue manager by invoking add, get next, MQCONN, or MQCONNX.

You can also access queues that are under the control of a remote queue manager, which is a queue manager with which the connecting queue manager can interact. Access between the two queue managers is possible only if MQSeries itself is configured to allow for that access.

Access to the connecting queue manager is terminated when you invoke MQDISC or when your code ends.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]