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!


4. Table management

It was already easy to use tables before the 74 standard was introduced, but the new standard introduced new functions that are fundamental to their management. A table is an ordered group of data composed of simple elements, all with identical attributes. Each element in the table is designated by an index number, in the form ELEMENT (index ). The index can be used as an integer, for example ELEMENT (5) to designate the fifth element of a table. The subscript can also be used as a Data-Name, e.g. SALARY (SCALE), with SCALE taking integer values only. Since COBOL allows up to three indices for a table, in the most general case we can write ELEMENT (index-1, index-2, index-3 ). Since 1974, COBOL has offered the possibility of replacing indices by indexes playing practically the same role, but implicitly reserved by COBOL when the table is declared.

...
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
Table management