ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » MQRC_NO_MSG_AVAILABLE

Post new topic  Reply to topic Goto page Previous  1, 2, 3
 MQRC_NO_MSG_AVAILABLE « View previous topic :: View next topic » 
Author Message
bruce2359
PostPosted: Wed Dec 01, 2010 6:39 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9471
Location: US: west coast, almost. Otherwise, enroute.

Quote:
and so far, you never said you really received a reply message in the replytoq. did you?

To be very clear, this means that the reply-to-queue depth never had a depth greater than zero; that it never contained a reply message (or any other type of message).
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
anirudhworld
PostPosted: Wed Dec 01, 2010 6:59 am    Post subject: Reply with quote

Novice

Joined: 26 Nov 2010
Posts: 17

Quote:
Ok, we started this thread with you complaining about a 2033 and we asked for the MQMD (which is key to the problem you described).

Then you started complaining about extra spaces because you'd got the CCSID & .NET all mixed up.

Now you're talking about the content of an RFH2.

What exactly is the issue here?


I have just started reading about MQ systems and am getting information in bits and pieces from other team about the issue and the same am communicating in the forum.

From the starting we are facing the problem of 2033 i.e, no message is available in Response queue.

Today got the info that we need to set the headers so that they are able to parse the message which is sent and process further.

Expected information in header

Quote:
RFH Ä MQSTR
<mcd>
<Msd>xmlns</Msd>
</mcd> |
<jms>
<Dst>queue:///RQ</Dst>
<Rto>queue:///RPO</Rto>
<Tms>1291237009906</Tms>
<Dlv>2</Dlv>
</jms>



Quote:
so your request message is not in the format they expect? because from the code you showed us you are not creating a RFH2 header.

so if your request messages is wrong, no reply is generated?

if no reply is generated, no message is sent to your replyto queue and you get the 2033?

from what you wrote first i assumed you received a reply, but the mqget failed. from what you wrote last, i assume you never received a reply.
and so far, you never said you really received a reply message in the replytoq. did you? if yes, show it to us by dumping it with amqsbcg. if not, why do you wonder about a 2033 ?!?

i suggest you first find out if your request message is in the proper format. then if it is you should make sure a reply is generated and hits your replytoq. then try to mqget it. try to make these single steps working, not all in one go as it seems to be hard for you to see (and to tell us) what the problem really is.


In addition to the above comments

We never recieved the reply in response queue.
The request message(Payload) which is sent is in required format and getting pushed into Request Q but the expecting header information which i had shared is not configured and they are not able to parse it and process it further to respond it,hence no message in Response Q.
So,now
-> How to set the expected header info?
-> Is MQMD Info required ?
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Dec 01, 2010 7:09 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

anirudhworld wrote:
I have just started reading about MQ systems and am getting information in bits and pieces from other team about the issue and the same am communicating in the forum.


You are going to make slow, painful progress doing this. You need a background understanding before attempting what you're attempting & this forum is not set up as a training resource.

anirudhworld wrote:
The request message(Payload) which is sent is in required format and getting pushed into Request Q but the expecting header information which i had shared is not configured and they are not able to parse it and process it further to respond it,hence no message in Response Q.


Well that explains the 2033 trying to read the response.

anirudhworld wrote:
-> How to set the expected header info?


Using XMS. This manages the RFH2

anirudhworld wrote:
-> Is MQMD Info required ?


Always. It's added automatically by the WMQ software and you need to refer to the ids it's setting.

Get some training. Seriously. This is not a simple piece of software.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Wed Dec 01, 2010 7:36 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

Quote:
We never recieved the reply in response queue


you should have told us this fact in the beginning. why do you then complain about a 2033 returncode ?

However, i agree with what Vitor posted last.

Good luck.
_________________
Regards, Butcher
Back to top
View user's profile Send private message
anirudhworld
PostPosted: Wed Dec 01, 2010 8:01 am    Post subject: Reply with quote

Novice

Joined: 26 Nov 2010
Posts: 17

Thanks to All for the replies

Quote:
Using XMS. This manages the RFH2


Is there any way to set it in current methodology.


Quote:
you should have told us this fact in the beginning. why do you then complain about a 2033 returncode ?


Just posted the error we got in the application and after that we started tracing and slowly information was coming out from other team,sorry for that
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Dec 01, 2010 8:06 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

anirudhworld wrote:
Is there any way to set it in current methodology.


If you seriously want to "set" all the properties of the RFH2 header manually, while getting the alignment right & all the code page issues then you have fun & let us know how the wheel you're reinventing works out for you.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
anirudhworld
PostPosted: Wed Dec 01, 2010 8:24 am    Post subject: Reply with quote

Novice

Joined: 26 Nov 2010
Posts: 17

Vitor wrote:
anirudhworld wrote:
Is there any way to set it in current methodology.


If you seriously want to "set" all the properties of the RFH2 header manually, while getting the alignment right & all the code page issues then you have fun & let us know how the wheel you're reinventing works out for you.


just asking your expert opinion ,reply is like about giivng a serious warning.
anways going by you advice ,will try out with xms,Thanks
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Dec 01, 2010 8:36 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

anirudhworld wrote:
just asking your expert opinion ,reply is like about giivng a serious warning.


In my expert opinion you needed a serious warning after the way you've gone round the houses with this thread. Also the RFH2 header has confused more experienced people than you. Hence the creation of XMS by IBM to manage it.

You also need some formal training. You might want to mention this to whoever hold your budget and point out that WMQ is not a simple piece of software, and expecting someone to pick it up while solving an application problem with nothing but some volunteers off the Internet for help is a bit dubious as business decisions go.

If you want to mention that one of them is a Brit with an attitude problem then please do so if it will help. Personally I don't find my attitude a problem; it's really easy....

anirudhworld wrote:
anways going by you advice ,will try out with xms


A wise man once said:

"Do. Or do not. There is no try."
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
anirudhworld
PostPosted: Wed Dec 01, 2010 8:40 am    Post subject: Reply with quote

Novice

Joined: 26 Nov 2010
Posts: 17

Quote:

A wise man once said:

"Do. Or do not. There is no try.


Will do it in XMS
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Dec 01, 2010 9:15 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9471
Location: US: west coast, almost. Otherwise, enroute.

Actually, it was Yoda. I believe he said "Try not; do."
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Dec 01, 2010 9:40 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

bruce2359 wrote:
Actually, it was Yoda.


Claiming Yoda is not a man is speciesist.

bruce2359 wrote:
I believe he said "Try not; do."


I believe you're wrong.

http://www.imdb.com/character/ch0000015/quotes
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Dec 01, 2010 10:40 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9471
Location: US: west coast, almost. Otherwise, enroute.

I'm wrong again...
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Dec 02, 2010 1:41 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

and for those less inclined to read through the page here is the quote:
Quote:
Yoda: No. Try not. Do... or do not. There is no try.



_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
anirudhworld
PostPosted: Sat Dec 04, 2010 1:41 am    Post subject: Reply with quote

Novice

Joined: 26 Nov 2010
Posts: 17

Finally got the response with xms.net.
Thanks to all.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Sun Dec 05, 2010 4:18 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9471
Location: US: west coast, almost. Otherwise, enroute.

Quote:
Finally got the response with xms.net.

What did you do to get this working? Please share your experience.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2, 3 Page 3 of 3

MQSeries.net Forum Index » IBM MQ API Support » MQRC_NO_MSG_AVAILABLE
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.