Article | REF: H2140 V1

COBOL

Author: Christian BONNIN

Publication date: June 10, 1995

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

Already subscribed? Log in!


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.

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? Log in!


The Ultimate Scientific and Technical Reference

A Comprehensive Knowledge Base, with over 1,200 authors and 100 scientific advisors
+ More than 10,000 articles and 1,000 how-to sheets, over 800 new or updated articles every year
From design to prototyping, right through to industrialization, the reference for securing the development of your industrial projects

This article is included in

Software technologies and System architectures

This offer includes:

Knowledge Base

Updated and enriched with articles validated by our scientific committees

Services

A set of exclusive tools to complement the resources

Practical Path

Operational and didactic, to guarantee the acquisition of transversal skills

Doc & Quiz

Interactive articles with quizzes, for constructive reading

Subscribe now!

Ongoing reading
COBOL files