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 » Tag delimited message set

Post new topic  Reply to topic
 Tag delimited message set « View previous topic :: View next topic » 
Author Message
parthiba_s
PostPosted: Wed Jun 18, 2003 5:15 am    Post subject: Tag delimited message set Reply with quote

Novice

Joined: 12 Sep 2002
Posts: 20

Hai All
I have to convert an XML to a Tagged delimited message and an Tagged delimited message back to an XML. Can you give me any pointers? Any links to books or documents is highly appreciated.

Regards
S.Parthiban
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
jefflowrey
PostPosted: Wed Jun 18, 2003 5:40 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Create a message set that describes your data. Add both a TDS and an XML Physical layer to the message set. Configure the element properties of each appropriately.

In your message flow, set the properties of your MQInput node to parse the message as TDS.

Add ESQL to SET OutputRoot.Properties.MessageFormat = the name of the appropriate physical layer. So if you named your XML layer 'XML', then you would set the MessageFormat to 'XML' to output as XML.
Back to top
View user's profile Send private message
parthiba_s
PostPosted: Wed Jun 18, 2003 6:04 am    Post subject: Reply with quote

Novice

Joined: 12 Sep 2002
Posts: 20

What setting do I do for TAGS and Delimiters? I getting only a continues string (Like CWF) what are the setting I have to do on the message set ..?
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
jefflowrey
PostPosted: Wed Jun 18, 2003 9:11 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You'll have to create a logical model of your message, and assign the appropriate values for each physical format to each element in that logical model.

Suppose your message consists of four items like this AAAAA1111BBBBBB99999.

Then you create a logical model that describes a message containing four elements. The message is described as a closed sequence. For the TDS properties, you would set the message to be a fixed length. The first element is a String element with a TDS length of 5. The second element is an Integer with a TDS length of 4. The third element is a String with a TDS length of 6. The last element is an Integer element with TDS length of 5.

You would then set the XML properties to create the tags you want.

You should read the Working With Messages guide for more information.
Back to top
View user's profile Send private message
Craig B
PostPosted: Wed Jun 18, 2003 9:32 am    Post subject: Reply with quote

Partisan

Joined: 18 Jun 2003
Posts: 316
Location: UK

The Working With Messages book discusses the general overview of the logical message model and then goes through each of the physical formats of CWF, XML and TDS. At the end of each of these sections they have an example called "modelling the Video customer message" which goes through the same example for each of these main formats. Hopefully you can apply these help model your messageSet to provide the transformations you require.

Some other gener sources of information that you may find useful are :

1) Redbook : Developing Solutions in Websphere MQ integrator, which covers some aspects of the MRM including TDS. This can be found from the following site : http://www.ibm.com/redbooks

2) Supports pacs on the following site : http://www-3.ibm.com/software/integration/support/supportpacs/product.html#wmqi :
i) IA7A : MRM Primer
ii) ID05 : Tagged/Delimited Message examples
iii) ID08 : Validation examples

These may not be specific to your scenario but did give further information regarding these aspects of the MRM
_________________
Regards
Craig
Back to top
View user's profile Send private message
parthiba_s
PostPosted: Thu Jun 19, 2003 8:36 pm    Post subject: Reply with quote

Novice

Joined: 12 Sep 2002
Posts: 20

Thanks a lot I will try out these options and revert back.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Tag delimited message set
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.