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 » Identifying HEADER and DETAIL in a parsed file

Post new topic  Reply to topic
 Identifying HEADER and DETAIL in a parsed file « View previous topic :: View next topic » 
Author Message
blaze_need
PostPosted: Wed Sep 06, 2006 8:23 am    Post subject: Identifying HEADER and DETAIL in a parsed file Reply with quote

Newbie

Joined: 01 May 2006
Posts: 1

Hello all.
I have a requirement of parsing a file. An example of the file is as follows:

Code:

Key  ColumnA  ColumnB  ColumnC
1    A1       B1       C1
1    AA1      BB1      CC1
2    A2       B2       C2


First row is the HEADER (1,A1,B1,C1) and the second is the DETAIL (1,AA1,BB1,CC1). The third row is another HEADER (2,A2,B2,C2) without DETAIL.

I have successfully mapped each row to a TDS message set MESSAGE_ABC with the fields: Key, ColumnA, ColumnB and ColumnC.

I need to know when every message key changes in order to identify the HEADER and the DETAIL. The only identifier to do that is when the Key field changes in every message flow.

I consider myself a newbie. This could be a trivial messaging problem. Do you have any hints of how to do it? Any help will be enormously appreciated.

Thank you very much!
Regards.
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 » Identifying HEADER and DETAIL in a parsed file
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.