Page 1 of 1

Is MQOPEN required when reader is triggered via CKTI

PostPosted: Mon Apr 23, 2018 4:04 pm
by pranav283
Hi,

A CICS program CICS2 is to read messages from an MQ queue CICS1.POISON1.QUEUE, which gets triggered via CKTI setup when another CICS program CICS1 puts messages into this queue via MQPUT.

So in CICS2, do I need to open the queue (MQOPEN) before issuing an MQGET or only MQGET will do?

Re: Is MQOPEN required when reader is triggered via CKTI

PostPosted: Tue Apr 24, 2018 2:10 pm
by NicC
This from a Google search:
The MQGET call retrieves a message from a local queue that has been opened using the MQOPEN call.

direct from the documentation. Read it.

Re: Is MQOPEN required when reader is triggered via CKTI

PostPosted: Tue Apr 24, 2018 11:18 pm
by pranav283
Ok. Thank you..