Posted: Wed Aug 18, 2004 6:41 am Post subject: TDS- MRM
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.
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.
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 .........
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