ILE COBOL Programmer's Guide


File Organization and iSeries File Access Paths

There are two types of access paths for accessing records in a file:

A file with a keyed sequence access path can be processed in ILE COBOL as a file with SEQUENTIAL, RELATIVE, or INDEXED organization.

For a keyed sequence file to be processed as a relative file in ILE COBOL, it must be a physical file, or a logical file whose members are based on one physical file member. For a keyed sequence file to be processed as a sequential file in ILE COBOL, it must be a physical file, or a logical file that is based on one physical file member and that does not contain select/omit logic.

A file with an arrival sequence access path can be processed in ILE COBOL as a file with RELATIVE or SEQUENTIAL organization. The file must be a physical file or a logical file where each member of the logical file is based on only one physical file member.

When sequential access is specified for a logical file, records in the file are accessed through the default access path for the file.


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