Posted: Wed Mar 10, 2010 9:19 am Post subject: MQRC 2142
Yatiri
Joined: 11 Nov 2008 Posts: 610
Hi Guys,
I am trying to put an XML message to a queue and it throws me error 2142 -Failed to put message.
I checked the MQMD and it is correct. I have even comented the MQMD header section to insert the message with default header. It throws me the same error.
Posted: Wed Mar 10, 2010 9:28 am Post subject: Re: MQRC 2142
Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
Sam Uppu wrote:
Pls help me..
Please put this sort of thing in code tags to make it easier to read!
Put a Trace node directly before the message is output and confirm it looks as you expect. Check especially that the MQMD is in front of the message body (seriously - I've seen code that didn't ensure that!) _________________ Honesty is the best policy.
Insanity is the best defence.
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