Could you tell us why are you interesting in open the queue in input and
output mode?
With this configuration you will get a message, process it and put it on the
same queue.
Then, after X times you will process the same message again.

Cheers,
Manuel Carlos Rodriguez
IBM Certified Specialist - WebSphere MQ

> -----Mensaje original-----
> De:   Murugesan Ravuthan [SMTP:[EMAIL PROTECTED]
> Enviado el:   Wednesday, March 26, 2003 10:38 AM
> Para: [EMAIL PROTECTED]
> Asunto:       HELP MQI MQOPEN
>
> Hi,
>
> I am trying to open the queue in both input and output mode.
> The requirement is, i should be able to send & receive messages and
> inquire
> the queue.
>
>
> l_Option = MQOO_OUTPUT + MQOO_INQUIRE+ MQOO_INPUT_AS_Q_DEF;
>
> MQOPEN(m_hConnection, &obj_Od,l_Option, &m_hObject, &l_Opencode,
> &l_Reason);
>
> Here i am able to send the message, but the MQGET returns reason code
> 2037(MQRC_NOT_OPEN_FOR_INPUT)
>
> Can you please tell me how to open the queue with the above three options?
>
> Thanks in Advance
> Murugesan
>
> Instructions for managing your mailing list subscription are provided in
> the Listserv General Users Guide available at http://www.lsoft.com
> Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Reply via email to