In my CL program, I have an Opnqryf and a Rcvf following that. It reads the file till EOF has reached. Now I have another opnqryf on the same file. I have closed the file just before the opnqryf but since the first loop has reaced eof, my second opnqryf is not retrieving any records. I dont want to take the number of records inhand as the data may change while am reading the file. And other than TfrCtl is there any better solution to achieve this?
May 21, 2013 12:12 PM