Tag: COBOL

COBOL Arrays or Tables

Single dimensional arrays: Arrays are data structures that are used to simplify coding and improve processing efficiency. The primary uses of arrays are to define:  a series of similarly formatted input or output record fields in the FILE SECTION  a group of accumulators in WORKING-STORAGE for different categories of totals  a table in WORKING-STORAGE that

cobol redefines clause with examples

This topic covers the redefines in COBOL & its usage, syntax, declaration, valid & Invalid redefines cases. In COBOL, Redefines clause is used to share the common storage area among different data items/groups thus saves the memory and helps to optimize the usage of working storage area. Useful in cases where the two variables are
Close Bitnami banner