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 » TDS message set

Post new topic  Reply to topic
 TDS message set « View previous topic :: View next topic » 
Author Message
Hari
PostPosted: Thu Apr 12, 2007 10:45 pm    Post subject: TDS message set Reply with quote

Centurion

Joined: 21 Nov 2002
Posts: 117
Location: USA

now this is really simple, but these days i have gone a bit rusty on my broker fundamentals...
Env: WBIMB 5.0, HP-UX

I have this input file which looks like something:

abc*cnn*bbc*msnbc*fox[b]<LF>[/b]
wer*der*dee*jkl*weret[b]<LF>[/b]

I had a TDS message set defined something like:
[b]xyz.mxsd
Messages
<Message Name>
Comp_Element [/b]
Repeating Element Delimiter <LF>
Min Occurs 1
Max Occurs -1
[b]**Anonymous**[/b]
DES ---- All Elements Delimited
Delimiter *


Now the output message follows the same TDS message set (with a few values altered)....

Now the problem.....
the output messages looks something like this, the last line does not have a <LF> character.....something like this

abc*cnn*bbc*msnbc*fox[b]<LF>[/b]
wer*der*dee*jkl*weret[b][/b]


Thanks in advance...
Back to top
View user's profile Send private message
Mensch
PostPosted: Fri Apr 13, 2007 1:09 am    Post subject: Reply with quote

Disciple

Joined: 17 Jul 2005
Posts: 166

Here is the solution
Follow these steps while creating your message set

1) Create One complex type Comp1
with Properties
Data element Separation: All elements delimited
Delimeter: <CR><LF>
2) Create one more complex type comp2
with properties
Data element Separation: All elements delimited
Delimeter: *
3) Add local elements (which are separated by *) inside type comp2
4)Add one local element of type comp2 inside type comp1
5)add message and make it of type comp1
_________________
Thanks and Regards ,
Mensch
Back to top
View user's profile Send private message
Mensch
PostPosted: Fri Apr 13, 2007 1:27 am    Post subject: Reply with quote

Disciple

Joined: 17 Jul 2005
Posts: 166

OR

You can look at the CSV example in Samples Gallery/Technology samples
_________________
Thanks and Regards ,
Mensch
Back to top
View user's profile Send private message
kimbert
PostPosted: Fri Apr 13, 2007 2:59 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
the last line does not have a <LF> character
Add a Group Terminator to the outermost complex type.
Back to top
View user's profile Send private message
rohit
PostPosted: Wed Apr 18, 2007 4:27 am    Post subject: Reply with quote

Apprentice

Joined: 05 Jul 2005
Posts: 40

Mensch wrote:
Quote:
You can look at the CSV example in Samples Gallery/Technology samples


Can you please tell how to go to gallery,coz i am searching for samples for message transformation using MRM parser

Cheers,
Rohit
_________________
IBM Certified System Administrator - WebSphere MQ V6.0
------------------------------------
Don't think that you can!...But,Know that you can!..
Back to top
View user's profile Send private message
Mensch
PostPosted: Wed Apr 18, 2007 5:47 pm    Post subject: Reply with quote

Disciple

Joined: 17 Jul 2005
Posts: 166

Quote:


--------------------------------------------------------------------------------

Mensch wrote:
Quote:
You can look at the CSV example in Samples Gallery/Technology samples


Can you please tell how to go to gallery,coz i am searching for samples for message transformation using MRM parser

Cheers,
Rohit


Open toolkit ....

Help-> Samples Gallery
_________________
Thanks and Regards ,
Mensch
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 » TDS 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.