Author |
Message
|
bruce2359 |
Posted: Wed Dec 01, 2010 6:39 am Post subject: |
|
|
 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 |
|
 |
anirudhworld |
Posted: Wed Dec 01, 2010 6:59 am Post subject: |
|
|
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 |
|
 |
Vitor |
Posted: Wed Dec 01, 2010 7:09 am Post subject: |
|
|
 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 |
|
 |
Mr Butcher |
Posted: Wed Dec 01, 2010 7:36 am Post subject: |
|
|
 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 |
|
 |
anirudhworld |
Posted: Wed Dec 01, 2010 8:01 am Post subject: |
|
|
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 |
|
 |
Vitor |
Posted: Wed Dec 01, 2010 8:06 am Post subject: |
|
|
 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 |
|
 |
anirudhworld |
Posted: Wed Dec 01, 2010 8:24 am Post subject: |
|
|
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 |
|
 |
Vitor |
Posted: Wed Dec 01, 2010 8:36 am Post subject: |
|
|
 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 |
|
 |
anirudhworld |
Posted: Wed Dec 01, 2010 8:40 am Post subject: |
|
|
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 |
|
 |
bruce2359 |
Posted: Wed Dec 01, 2010 9:15 am Post subject: |
|
|
 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 |
|
 |
Vitor |
Posted: Wed Dec 01, 2010 9:40 am Post subject: |
|
|
 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 |
|
 |
bruce2359 |
Posted: Wed Dec 01, 2010 10:40 am Post subject: |
|
|
 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 |
|
 |
fjb_saper |
Posted: Thu Dec 02, 2010 1:41 am Post subject: |
|
|
 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 |
|
 |
anirudhworld |
Posted: Sat Dec 04, 2010 1:41 am Post subject: |
|
|
Novice
Joined: 26 Nov 2010 Posts: 17
|
Finally got the response with xms.net.
Thanks to all. |
|
Back to top |
|
 |
bruce2359 |
Posted: Sun Dec 05, 2010 4:18 pm Post subject: |
|
|
 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 |
|
 |
|