Is MQOPEN required when reader is triggered via CKTI



Support for MQSeries and Websphere Message Oriented Middleware communication systems for z/OS

Is MQOPEN required when reader is triggered via CKTI

Postby pranav283 » Mon Apr 23, 2018 4:04 pm

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?
pranav283
 
Posts: 46
Joined: Sat Aug 30, 2014 3:52 pm
Has thanked: 2 times
Been thanked: 0 time

Re: Is MQOPEN required when reader is triggered via CKTI

 

Re: Is MQOPEN required when reader is triggered via CKTI

Postby NicC » Tue Apr 24, 2018 2:10 pm

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.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2823
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 118 times

Re: Is MQOPEN required when reader is triggered via CKTI

Postby pranav283 » Tue Apr 24, 2018 11:18 pm

Ok. Thank you..
pranav283
 
Posts: 46
Joined: Sat Aug 30, 2014 3:52 pm
Has thanked: 2 times
Been thanked: 0 time


Return to WebSphere MQ

 


  • Related topics
    Replies
    Views
    Last post