IN rexx how to read a seq. flat file multiple times
Posted: Thu Feb 06, 2014 8:19 pm
Trying to write a rexx program in which i compare a portion of a record from fileA (flat file) against a portion of a record from all the records in fileB (flat file). If no match is found i then read the next record from fileA and compare it to all the records in fileB. The problem is once all the records in fileB have been read once I can't seem to read the file again. I know the rc goes from 0 to 2 once all the records are read and this causes the EOF marker to go from 'no' to 'yes'. However i do not know how to reset this so fileB can be read multiple times (until all records from fileA have been read).