COBOL files
COBOL
Article REF: H2140 V2
COBOL files
COBOL

Author : Christian BONNIN

Publication date: June 10, 1995, Review date: April 27, 2016 | Lire en français

Logo Techniques de l'Ingenieur You do not have access to this resource.
Request your free trial access! Free trial

Already subscribed?

3. COBOL files

The most common type of file is the sequential file, where items or records are arranged in the order in which they were written. In general, the order is determined by a designator (REF line 34 for the INPUT item in the FILECTU file described on lines 30 to 35).

Once a file has been created, its items can only be reread in this order, one after the other, and possibly rewritten after modification. If you wish to process the file in a different order, you must first sort it on another code (a service code, for example).

If you want to access a particular item, you have to read all the items preceding it, which can be very time-consuming for a file containing several million items. It is therefore unthinkable to use a sequential file for a transactional application with random access to records.

You do not have access to this resource.
Logo Techniques de l'Ingenieur

Exclusive to subscribers. 97% yet to be discovered!

You do not have access to this resource. Click here to request your free trial access!

Already subscribed?


Article included in this offer

"Software technologies and System architectures"

( 227 articles )

Complete knowledge base

Updated and enriched with articles validated by our scientific committees

Services

A set of exclusive tools to complement the resources

View offer details