Home
Example 1. Queue manager name includes an asterisk (*)
In this example the application is not concerned about which queue manager it connects to. The application issues:
MQCONN (*SALE)Following the rules, this is what happens in this instance:
- The client channel definition table is scanned in alphabetic channel name sequence, for the queue manager name
SALE, matching with the application MQCONN call.
- The first channel definition found to match is
ALPHA.
- An attempt to start the channel is made - this is NOT successful because the communication link is broken.
- The client channel definition table is again scanned for the queue manager name
SALE and the channel name BETA is found.
- An attempt to start the channel is made - this is successful.
- A check to see that a listener is running shows that there is one running. It is not connected to the
SALE queue manager, but because the MQI call parameter has an asterisk (*) included in it, no check is made. The application is connected to the
SALE_BACKUP queue manager and continues processing.
Home