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 » repeating data in TDS format

Post new topic  Reply to topic
 repeating data in TDS format « View previous topic :: View next topic » 
Author Message
suraj
PostPosted: Wed Mar 19, 2008 2:45 pm    Post subject: repeating data in TDS format Reply with quote

Acolyte

Joined: 31 Jul 2007
Posts: 56

Hi,

I have data in a file that looks like this

|||0.000|1234|N|||5675|||
|||0.123|1234|N||234||||

How do i model this in TDS format.
They are basically records in a file and each record starts on a new line.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Mar 19, 2008 2:49 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You model the elements and then put them in types or groups that repeat.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
suraj
PostPosted: Thu Mar 20, 2008 10:24 am    Post subject: Reply with quote

Acolyte

Joined: 31 Jul 2007
Posts: 56

The problem i am facing here is that the delimiter between two records id a new line character '\n'.
here is an example model i have prepared

RootElement
(local complex type)
Element1 occurs 0 to -1
(local complex type)
Data1
Data2
Data3

What should be the group indicator and group terminator values for the complex tyes??
Back to top
View user's profile Send private message
suraj
PostPosted: Fri Mar 21, 2008 1:24 pm    Post subject: Reply with quote

Acolyte

Joined: 31 Jul 2007
Posts: 56

Any Help???
Back to top
View user's profile Send private message
kimbert
PostPosted: Fri Mar 21, 2008 2:53 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Please look at the CSV sample in the Samples Gallery.
You specify a carriage return as <CR> and a line feed as <LF>
Back to top
View user's profile Send private message
suraj
PostPosted: Sun Mar 23, 2008 2:52 pm    Post subject: Reply with quote

Acolyte

Joined: 31 Jul 2007
Posts: 56

thanks...
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 » repeating data in TDS format
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.