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 » WebSphere Message Broker (ACE) Support » MQINput node query

Post new topic  Reply to topic
 MQINput node query « View previous topic :: View next topic » 
Author Message
MrSmith
PostPosted: Wed Sep 08, 2010 2:29 am    Post subject: MQINput node query Reply with quote

Master

Joined: 20 Mar 2008
Posts: 215

Haveing read the help for MQInput node on conversion I am coming across the problem of ciontuinuing parsing errors.

scenario - flow 1 has MQInput node set with XML parser (yes I know its supposed to be XMLNSC, had that battle with client and lost until they upgrade apparently so......) get EBCDIC message from iSeries machine CCSID 037 in MQMD and parser fails on reference to an element in the tree becasue the parser has errored unable to parse message. Created seperate flow where input node is BLOB parse and then parse message to XML in compute node using ESQL works fine as knew it would, so went back to MQInput node and set convert checkbox, which according to the help also says if i dont state a value in the CCSID and Encoding boxes it gets it from the MQMD, happy days i thought, but it puts back the default 1208 UTF CCSID (which I believe is the internal CCSID for the tree anyway) into the CCSID value and still fails to parse.
When it says no value I assumed to mean you blank it out as in backspacwe the values whichever and have even tried 0 in each entry on the basis that maybe zero defines no value but still fails the parse. If however i hard cosde the CCSID it works fine as i would expect

Problem is I have no control over the incoming CCSID so can not really default the MQInput node value to 037 in case it isnt for other messages to this flow so want to force the inoput node to get the values for both encoding and CCSID from the MQMD as it says on the tin.
anybody got suggestions or experienced the same or am i missing something here

Version 6 CSD03 on solaris (again dont ask - words like HEAD, WALL, BEATING spring to mind)

TIA
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Sep 08, 2010 11:46 am    Post subject: Reply with quote

Grand High Poobah

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

Ok,

Do not click the convert chekbox on the MQInput node. Let the broker retrieve the message as RAW and convert internally.
However if you are parsing and I am thinking here about CWF not XML be aware, if your input can span multiple CCSIDs, of the implication for char fields of x bytes vs x chars, especially if you mix ccsid 1208 with single byte CCSIDs like 500 or 037....

Otherwise the best course would be to let the broker handle any conversions.
Also make sure the sending qmgr sets the right ccsid on the message.
If you get a message with ccsid 1208 but the content is in ccsid 037 there is nothing you can do. This is the responsibility of the sender.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » MQINput node query
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.