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