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 » Leading zero's problem

Post new topic  Reply to topic
 Leading zero's problem « View previous topic :: View next topic » 
Author Message
Jenney
PostPosted: Mon Apr 30, 2007 8:47 am    Post subject: Leading zero's problem Reply with quote

Voyager

Joined: 25 Apr 2007
Posts: 83
Location: Melbourne

Hi All,

I have XML MRM message set and I have 2 fields months and years. Broker is truncating the 2 digit field with leading zero to 1 digit field...e.g.
yrs = 02 to yr=2 and month =05 to month=5

how to handle this senario in Message set?? or do i have to do it in ESQL??

thanks
jenny
Back to top
View user's profile Send private message
pathipati
PostPosted: Mon Apr 30, 2007 9:43 am    Post subject: Reply with quote

Master

Joined: 03 Mar 2006
Posts: 296

Try changing type to string..
Back to top
View user's profile Send private message Yahoo Messenger
Jenney
PostPosted: Mon Apr 30, 2007 10:01 am    Post subject: Reply with quote

Voyager

Joined: 25 Apr 2007
Posts: 83
Location: Melbourne

data type is string itself.
Back to top
View user's profile Send private message
special_agent_Queue
PostPosted: Mon Apr 30, 2007 10:09 am    Post subject: Reply with quote

Centurion

Joined: 27 Jul 2006
Posts: 102

How are your padding characters set?
Back to top
View user's profile Send private message
Jenney
PostPosted: Mon Apr 30, 2007 10:23 am    Post subject: Reply with quote

Voyager

Joined: 25 Apr 2007
Posts: 83
Location: Melbourne

Padding characters are for CWF and TDS message type not for XML format.

Any idea how to resolve this??

Thanks
Jenney
Back to top
View user's profile Send private message
kimbert
PostPosted: Mon Apr 30, 2007 12:48 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

- In the Message Definition file, what is the DateTime Format property for the element/attribute?
- In the XML Message Set properties, how is 'Derive DateTime Format from logical type' set?
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 » Leading zero's problem
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.