View previous topic :: View next topic
|
Author |
Message |
meetraju2020
New User
Joined: 14 Mar 2021 Posts: 7 Location: USA
|
|
|
|
Hi All,
I am working with MQ for the first time and trying to place messages in request queue and trying to get the response from the reply MQ Oject.
I am using CSQBCONN,CSQBOPE,CSQBPUT,CSQBGET,CSQBDISC ETC
While I am trying to get message from reply queue I am getting 2019 reason code, when I am using MQOBJECT name while CSQBGET is not giving 2019.
But as per standard synatax it is not required to use the object name.
Can some one suggest it is the way of of handling in batch mode.
Thanks and Regards,
Rajkumar nerella |
|
Back to top |
|
|
meetraju2020
New User
Joined: 14 Mar 2021 Posts: 7 Location: USA
|
|
|
|
I am using the following syntax, which is not giving 2019, but when I am not using MQMNAME then I am getting 2019. Is this correct?
CALL 'CSQBGET' USING MQMNAME, HCONN,
Q-HANDLE-RESP,
MESSAGE-DESCRIPTOR,
GMOPTIONS,
BUFFER-LEN,
BUFFER,
DATA-LENGTH1,
COMPLETION-CODE,
REASON. |
|
Back to top |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3076 Location: NYC,USA
|
|
|
|
What does manual say ? |
|
Back to top |
|
|
meetraju2020
New User
Joined: 14 Mar 2021 Posts: 7 Location: USA
|
|
|
|
hi could you please share the reference manual. just to explain my issue,
I have my application queue created which is a shared queue for interfacing apps to place messages
while trying to get messagesand validate them is my program function
Thanks for you response. Look forward your help |
|
Back to top |
|
|
|