I am having trouble creating a type tree to handle the situation below.
I am reading a data file that can have multipe data sets in it. Each data set consists of 1 header record and 0 or more data records. The header records can be distinguised by a constant value in the first 3 positions, however the data records do not contain a consistent identifier. Both header and data records have the same record length.
When I try to process a data file with more than one data set (1 hdr and multipe dtl recs), my map fails because it can not distinquish the second header record from a data record of the first set.
I must be missing something obvious.
Any help is appreciated.
Kevin
I am reading a data file that can have multipe data sets in it. Each data set consists of 1 header record and 0 or more data records. The header records can be distinguised by a constant value in the first 3 positions, however the data records do not contain a consistent identifier. Both header and data records have the same record length.
When I try to process a data file with more than one data set (1 hdr and multipe dtl recs), my map fails because it can not distinquish the second header record from a data record of the first set.
I must be missing something obvious.
Any help is appreciated.
Kevin