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 » Calling a function from a Message Flow

Post new topic  Reply to topic
 Calling a function from a Message Flow « View previous topic :: View next topic » 
Author Message
LH33
PostPosted: Wed Sep 24, 2003 10:00 am    Post subject: Calling a function from a Message Flow Reply with quote

Master

Joined: 21 Nov 2002
Posts: 200

HI! I have a requirement to take an XML transaction (which can originate from multiple systems), and if certain DateTime tags are present in the following format:

<2003-09-24T10:45:33>

replace the 'T' with a space or if there is a space, replace the space with a 'T'. (I know this can be accomplished in the same node with the SUBSTRING function. )

What I don't know is if there is a way in WMQI Message Flows to have a "Function" that I can pass a DateTime value to and have it return the value with or without the 'T' so that I could re-use this function in many different flows?

Thanks, Lisa
Back to top
View user's profile Send private message
EddieA
PostPosted: Wed Sep 24, 2003 11:37 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Yes, with WMQI 2.1 (and maybe CSD3) you can define Functions and Procedures.

But, they must be defined in the Compute node where they are called. So, if you want this functionality in different Nodes and Flows, then you will have to Cut/Paste the code between the various nodes.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
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 » Calling a function from a Message Flow
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.