Wednesday, December 7, 2011

MQ: MQCONN is not needed in CICS programs


You might seen that CICS programs, directly invoke MQOPEN, without doing MQCONN. Have you ever wondered why?

CICS programs do not need to do any work to connect to a queue manager because the CICS system itself is connected. This connection is usually made automatically at initialization, but you can also use the
CQKC transaction, which is supplied with MQSeries. CICS tasks can connect only to the queue manager to which the CICS region, itself, is connected.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.