IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

CSQBGET - Call giving completion code 2019


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
meetraju2020

New User


Joined: 14 Mar 2021
Posts: 7
Location: USA

PostPosted: Wed Sep 14, 2022 2:10 am
Reply with quote

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
View user's profile Send private message
meetraju2020

New User


Joined: 14 Mar 2021
Posts: 7
Location: USA

PostPosted: Wed Sep 14, 2022 2:22 am
Reply with quote

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
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3076
Location: NYC,USA

PostPosted: Wed Sep 14, 2022 10:17 am
Reply with quote

What does manual say ?
Back to top
View user's profile Send private message
meetraju2020

New User


Joined: 14 Mar 2021
Posts: 7
Location: USA

PostPosted: Thu Sep 15, 2022 9:19 am
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Call an hlasm from REXX in batch and ... CLIST & REXX 4
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts Error while running web tool kit REXX... CLIST & REXX 5
Search our Forums:

Back to Top