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 » WTX - CAn we add leading zeros for an interger value in XML?

Post new topic  Reply to topic
 WTX - CAn we add leading zeros for an interger value in XML? « View previous topic :: View next topic » 
Author Message
aaron_blade
PostPosted: Sun Feb 21, 2010 5:22 pm    Post subject: WTX - CAn we add leading zeros for an interger value in XML? Reply with quote

Apprentice

Joined: 21 Dec 2009
Posts: 29

Hi,

Can we add leading zeros for an integer value in an XML?

I am using doing a WTX map, in which i am converting a string value to integer value using TEXTTONUMBER() function.

Requirement is to pad the integer values with 0 to the max length.

How can i do this?

What is the diff between TONUMBER() and TEXTTONUMBER()?

Please hlep!!
Back to top
View user's profile Send private message
aaron_blade
PostPosted: Tue Feb 23, 2010 3:03 pm    Post subject: Reply with quote

Apprentice

Joined: 21 Dec 2009
Posts: 29

Hi Guys,

I found the answer.

you need to mention padding in WTX type tree and initiator and terminator need to be specified forr padding to take place.

-Thanks,
AAron..
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 » WTX - CAn we add leading zeros for an interger value in XML?
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.