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 » backout changes CCSID value

Post new topic  This topic is locked: you cannot edit posts or make replies.
 backout changes CCSID value « View previous topic :: View next topic » 
Author Message
lodha13
PostPosted: Fri May 18, 2012 5:01 am    Post subject: backout changes CCSID value Reply with quote

Novice

Joined: 17 May 2012
Posts: 24

Hi

I am processing a group message in which there 4 messages. Out of them one is poison message(leads to 2111 error). My application process first 2 messages successfully at the 3 msg it throws error(2111 as expected) and I call backout at this exception which puts all the messages back to the queue again (as it is a group). Now the queue has 4 msg

I am printing the value of charset and encoding of the message when it is read.
Issues
1) The charset for good message is different in my application and when I browse in WMQ Explorer.
2) When putting back the message on backout(). the charset changes. but it is still same as before in WMQ Explorer.

Thanks
Abhishek
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri May 18, 2012 5:06 am    Post subject: Reply with quote

Grand High Poobah

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

This is the same problem you described here. You won't get different answers asking the question a different way, especially when you didn't answer all the questions you were originally asked!
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Fri May 18, 2012 5:06 am    Post subject: Reply with quote

Poobah

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

MQRC 2011 is clearly documented (try searching google). The message creator needs to set the correct CCSID of the so-called poison 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
lodha13
PostPosted: Fri May 18, 2012 5:48 am    Post subject: Reply with quote

Novice

Joined: 17 May 2012
Posts: 24

yes, I have some charset set. But that charset changes when it put to the queue again as part of queueMGR.bakout()
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri May 18, 2012 5:54 am    Post subject: Reply with quote

Grand High Poobah

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

lodha13 wrote:
yes, I have some charset set. But that charset changes when it put to the queue again as part of queueMGR.bakout()


We went through all this on your previous thread. Going through this again will not help.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Fri May 18, 2012 6:17 am    Post subject: Reply with quote

Poobah

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

lodha13 wrote:
But that charset changes when it put to the queue again as part of queueMGR.bakout()

The base MQI call MQBACK doesn't do an MQPUT to undo a unit-of-work. The base MQGET _SYNCPOINT merely marks the message un-gettable by any other app until the u-of-w completes with MQBACK. AFAIK, the MQBACK does not alter the CCSID of the message.

I'm not a Java/JMS person; so we'll have to wait until one comes by offer an authoritative opinion on what that Java/JMS does or doesn't do with CCSID on MQBACKout.
_________________
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  This topic is locked: you cannot edit posts or make replies. Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » backout changes CCSID value
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.