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 » How can we do it in a mapping node...

Post new topic  Reply to topic
 How can we do it in a mapping node... « View previous topic :: View next topic » 
Author Message
mirakal
PostPosted: Sat Dec 01, 2007 2:11 pm    Post subject: How can we do it in a mapping node... Reply with quote

Novice

Joined: 19 Sep 2007
Posts: 11

Hi,
I am looking for some hints on how to deal with the following tasks in mapping node.Here is what I am in need of help.


My source:

<CustomerOrder>
<CustomerDeatils/>
<TimeUpdated/>
<Item Number/>
<CustomerOrder/>



My target:

<OrderType>
<Transaction Time/>
<VendorList/>
<Business Unit Number/>
<OrderType/>



I mapped the incoming TimeUpdated to Transaction Time, but I need the output from the map to be 12/01/2007 instead of December 01 2007.Do I have to call esql function for this or can I do in the mapping node itself if there is any date format conversion available.



Secondly, I mapped the Item Number to Business Unit Number where the incoming value is '100107' but I need the out put from the map to be ' 100107'.(need to add 5 spaces before the value) so that it can be processed at the target end application.How to add the required spaces before the source value in the target side in mapping node.


It would be great if you can help me on this.

Thanks,
Mirakal.
Back to top
View user's profile Send private message
francoisvdm
PostPosted: Sun Dec 02, 2007 10:15 pm    Post subject: Reply with quote

Partisan

Joined: 09 Aug 2001
Posts: 332

I do not know about your first requitement, but to add spaces is easy, just use fn:concat() in the map.
_________________
If you do not know the answer or you get the urge to answer with "RTFM" or "Search better in this forum", please refrain from doing so, just move on to the next question. Much appreciated.

Francois van der Merwe
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 » How can we do it in a mapping node...
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.