gtpa2m1bApplication Programming

TPF MQSeries Client Support

TPF MQSeries client support provides a Message Queue Interface (MQI) client on the TPF system to enable the complete MQSeries application programming interface (API). MQSeries clients use MQI channels to communicate with remote MQSeries servers.

MQSeries Client

When an application connects to a queue manager other than the local queue manager, a connection is established with a remote MQSeries server. Each MQSeries API function (for example, MQPUT, MQGET, and so on) is then delivered to a remote MQSeries server over LU 6.2 or Transmission Control Protocol/Internet Protocol (TCP/IP) communications links and then processed by the MQSeries server. The queues themselves reside on the server, not on the TPF system. The API available to the application is determined by the API available on the remote server. For a complete description of the MQI, see MQSeries Message Queue Interface Technical Reference. For more information about MQI clients, see MQSeries Clients and the MQSeries Distributed Queue Management Guide.

MQI Channel Directory

An MQSeries client communicates with an MQSeries server by using an MQI channel, which is used to transfer MQI call requests from the client to the server, and responses from the server back to the client.

MQI channels differ from message channels (that are used to connect queue managers) in two ways:

The TPF system maintains a maximum of 50 channel definitions in the MQI channel directory. The ZMQID ALTER, ZMQID DEFINE, ZMQID DELETE, and ZMQID DISPLAY commands are used to maintain the MQI channel directory. See TPF Operations for more information about the ZMQID ALTER, ZMQID DELETE, and ZMQID DISPLAY commands.