At least one space is required between the dataname and the left parenthesis. A space may not follow the left parenthesis, or precede the right parenthesis. Indexes are defined within the table, subscripts are defined in working storage. Can use an index and a subscript for any table. Subscripts can not be used with the set statement.
Indexes provide more efficient object code.
An incomplete program is provided lab7.cbl . Copy the incomplete program and the input file to your diskette. Complete those parts of the program which is specified by comments. Run the program for an input of at least 20 records.