Set of records would be based on the value at first postion (0,1 and 9).
0-Header 1- detail and 9- Trailer. Like wise i may get n number of sets.
I would like to get only the first set of records.
I am getting date in the header record, can we use that string to stop fetching next record? else
can we group the records based on the value at postion 1 (0,1 and 9)and fecth the first group?
Joined: 07 Dec 2007 Posts: 2205 Location: San Jose
Alexis Sebastian,
That is the right way to do it , but remember that you are only using 1 byte ID which would repeat it after every 10 groups. So if you have more than 10 groups you would include the 1,11,21.... groups also.