Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
No message in reply queue!!

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Java & MQSeries
View previous topic :: :: View next topic  
Author Message
Vignesh Sid

New User


Joined: 04 Sep 2017
Posts: 33
Location: India

PostPosted: Thu Jan 11, 2018 10:45 am    Post subject: No message in reply queue!!
Reply with quote

Hi all,

I have a requirement to check whether all the MQ functions like connect, put, get and disconnect are working good though there are not any messages in queue.

I have coded and I am able to execute connect and PUT request. But during MQGET the queue waits for some time and throws 2033 abend as there are no messages in reply queue.

Is there any way that I can get a response from MQGET though there will be no messages in reply queue which is the requirement too.

Thanks!
Back to top
View user's profile Send private message

Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1027
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Thu Jan 11, 2018 1:34 pm    Post subject:
Reply with quote

Quote:
But during MQGET the queue waits for some time and throws 2033 abend as there are no messages in reply queue.

Read more: http://ibmmainframes.com/viewtopic.php?t=66390#ixzz53rQFp2My


In the first place - why is this in the Cobol section and not the MQ section ??

In the second place, the queue doesn't "wait" - the MQGET does, Thirdly, the 2033 isn't "thrown" - it is returned.

You don't show any code to explain what you're trying to do. Have you correctly placed the replytoqueue in the MQMD for the request? Have you an application that is correctly receiving, processing and replying to the request message? What MsgId and CorrelId values are you setting in the MQMD for the MQGET (do they correspond with what the server applicatgion is setting)c? Are both the client and server applications connected to the same QMgr?

Garry.
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1303
Location: Israel

PostPosted: Thu Jan 11, 2018 7:41 pm    Post subject: Re: No message in reply queue!!
Reply with quote

Vignesh Sid wrote:
Is there any way that I can get a response from MQGET though there will be no messages in reply queue which is the requirement too.

That's what you are doing already: issue MQGET, if error code is 2033 then there is no message.
You can change the amount of time MQGET waits for a message to arrive (wait interval in milliseconds)

Quote:
waits for some time and throws 2033 abend

NB. 2033 is not an abend, it is a return code, and it can be a valid answer.
Back to top
View user's profile Send private message
Vignesh Sid

New User


Joined: 04 Sep 2017
Posts: 33
Location: India

PostPosted: Tue Jan 23, 2018 1:09 pm    Post subject:
Reply with quote

Thanks for your replies. I was sending messages in a request queue in wrong format. Now I am able to get a response from reply queue.

Thanks!
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Java & MQSeries All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Break Auto update screen without message packerm TSO/ISPF 2 Wed Oct 03, 2018 2:44 pm
No new posts SOAP Message Handler Application Inte... John Poulakos CICS 1 Fri Aug 24, 2018 1:05 am
No new posts Pre-Compiler Bug with DSNH520I message? John Poulakos DB2 1 Thu Aug 09, 2018 9:00 pm
No new posts Send data from a CICS TS program to M... spiThingy CICS 2 Wed Aug 08, 2018 8:58 am
No new posts Error while initiation CICS program f... Ashishpanpaliya CICS 3 Mon Jul 16, 2018 5:12 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us