|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Identifying HEADER and DETAIL in a parsed file |
« View previous topic :: View next topic » |
Author |
Message
|
blaze_need |
Posted: Wed Sep 06, 2006 8:23 am Post subject: Identifying HEADER and DETAIL in a parsed file |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|