ILE COBOL Programmer's Guide

Processing the Next Record

To move on to the next record, set the address of the record in the Linkage Section to be equal to the address of the next record. This is accomplished through the pointer data item sent as the first field in SALARY-REC:

     SET ADDRESS OF SALARY-REC TO PTR-NEXT-REC

Then repeat the record-processing routine, which will process the next record in the chained list.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]