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 » Working with TDS Messages

Post new topic  Reply to topic
 Working with TDS Messages « View previous topic :: View next topic » 
Author Message
broker_new
PostPosted: Tue Feb 13, 2007 7:38 pm    Post subject: Working with TDS Messages Reply with quote

Yatiri

Joined: 30 Nov 2006
Posts: 614
Location: Washington DC

parse--->next Exception

Last edited by broker_new on Wed Feb 14, 2007 11:29 am; edited 1 time in total
Back to top
View user's profile Send private message
gregop
PostPosted: Wed Feb 14, 2007 1:33 am    Post subject: Reply with quote

Voyager

Joined: 24 Nov 2006
Posts: 81

I don't think there is anything you can set in the MRM to allow parsing of character data in an integer element.

I suggest you either get the sender application to pad the integer element with zeros or change variable b to as character.

If b is character you can always replace the blanks with zeros in esql (and cast to int if necessary).
Back to top
View user's profile Send private message
kimbert
PostPosted: Wed Feb 14, 2007 4:20 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Good news : The null handling features of the MRM parser were designed for exactly this situation.

On the TDS properties for element a:
- Set 'Encoding Null' to 'NullLiteralValue'
- Set 'Encoding Null Value' to five spaces

The MRM parser will create element 'a' in the message tree and assign it a null value.
Back to top
View user's profile Send private message
vsr
PostPosted: Wed Feb 14, 2007 6:46 am    Post subject: Reply with quote

Centurion

Joined: 04 Apr 2006
Posts: 104

You can find out more information here

http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/index.jsp?topic=/com.ibm.etools.mft.doc/ad06830_.htm

http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/index.jsp?topic=/com.ibm.etools.mft.doc/ad00801_.htm
Back to top
View user's profile Send private message
broker_new
PostPosted: Fri Feb 23, 2007 8:30 am    Post subject: Reply with quote

Yatiri

Joined: 30 Nov 2006
Posts: 614
Location: Washington DC

Yes i got it,
I did the same thing and one more thing is that we need to check the Nillable property for that particular element in TDS MessageDefnition file.
_________________
IBM ->Let's build a smarter planet
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Working with TDS Messages
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.