Joined: 22 Aug 2005 Posts: 413 Location: Colarado, US
Hope this helps...
Records can be randomly accessed in the program using the primary/alternate key of indexed file organization or relative record number of relative organization.100th record can directly be read after getting the address of the record from the INDEX part for INDEXED files.100th record can directly be read for RELATIVE files even without any index.
It is mixed access mode where the file can be accessed in random as well as sequential mode in the program.
Example: Reading the details of all the employees between 1000-2000. First randomly access 1000th employee record, then read sequentially till 2000th employee record. START and READ NEXT commands are used for this purpose in the procedure division
Joined: 22 Sep 2005 Posts: 104 Location: Concord, New Hampshire, USA.
Welcome to our forum! Go through the forum rules. Manual is available in this website. Learn to use it. If you couldn't find the answer from the manual then post your query.Check this link.