how do i set the pointer to the start of the sequential file after reaching EOF?
i want to search an item in sequential file and for every EOF i want to get next time and start search again. how do i do this? Any pointers?
Searched to EOF even if you have already found a match?TRESA wrote:i want to search an item number in sequential file with item number from vsam file. If a match is found i'll be writing the record to output file. For the first record the sequential file will be searched till EOF but for the second record i cant set the pointer to the start of the seq file. i can use a table for searching but then i need to know the size of the input seq file. any other option?