i have written a COBOL which received a range of values. Say input that i receive is 10,55. That means the range is from 10 to 55.
Based on this range i have to read a file. So i will have to read the records starting from 10 till 55.
how to use the READ statement so that i will fetch the 10th record for processing? A normal READ will start reading the file from 1st record, then how to stop at 10th record? Or is there any way that i can directly go to 10th record?
Based on this range i have to read a file. So i will have to read the records starting from 10 till 55.
how to use the READ statement so that i will fetch the 10th record for processing? A normal READ will start reading the file from 1st record, then how to stop at 10th record? Or is there any way that i can directly go to 10th record?
Comment