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- MRM

Post new topic  Reply to topic
 TDS- MRM « View previous topic :: View next topic » 
Author Message
RocknRambo
PostPosted: Wed Aug 18, 2004 6:41 am    Post subject: TDS- MRM Reply with quote

Partisan

Joined: 24 Sep 2003
Posts: 355

hi all..

I'm designing a message set using TDS. my input is xml and output is fixed length flat file....
the input I get is header and details..header is not repeating where as the details does.

my output should be...

Header1
Header2
Detail1
Detail2
Detail1
Detail2
Detail1
Detail2

bascially, I splitting the input header & detail into two header & detail records in the output.

now, here z the pblm I'm facing...

I'm getting as

Header1
Header2
Detail1
Detail1
Detail1
Detail2
Detail2
Detail2

which I dont want this. in my ESQL..code. I'm seeing tht the sequence of creating Detail records is proper....
the options I have choosen in the message set are..
in the Types (of Detail record)
Composition : orderedSet
Content Validation: Closed.

is this I need to approach or..any where else...is the touch point...
cananbody suggest me.

thanks in advance.
sanu.
Back to top
View user's profile Send private message
TDS_tds_tds
PostPosted: Wed Aug 18, 2004 8:12 am    Post subject: Reply with quote

Novice

Joined: 31 Jul 2003
Posts: 16

This should be easy.

Remove Detail1 & Detail2 from the Message you defined previously
Create another compound element (say FullDetails ) with Detail1 and Detail2 as its member elements. Set <LF> as delimiter.

Add this compound element FullDetails to your Compound Message and set repeat property to YES.
and linefeed <LF> as delimiter.

your compound message should look like this
Header1
Header2
FullDetails ( REPEAT- YES; Delimiter - <LF> )

In ESQL, you can access Detail1 as FullDetails.Detail1 and so on .........

hope this helps !
Back to top
View user's profile Send private message
RocknRambo
PostPosted: Wed Aug 18, 2004 2:42 pm    Post subject: Reply with quote

Partisan

Joined: 24 Sep 2003
Posts: 355

thanks tds_tds_tds...

got it..
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- MRM
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.