Tuesday, 12 August 2014

COBOL File Organization.

The term file ORGANIZATION refers to the way in which the logical records are organized within the storage space allocated to a file. 

The term ACCESS MODE refers to the way in which the records in the file will be accessed (sequential or random). COBOL support three types of file organizations. Refer below figure below :


These are sequential file organization, indexed file organization, and relative file organization. Of the three, the first two are the ones you’ll use all the time.
Corresponding to each of these three ORGANIZATION, there exist one or more ACCESS MODEs.

No comments:

Post a comment