ILE COBOL Programmer's Guide


Differences between DISK and DATABASE Files

You use the device type DISK to associate a file in your ILE COBOL program with any physical database file or single format logical database file. When you choose DISK as the device type, you cannot use any ILE COBOL database extensions. The device type DISK does support dynamic file creation (except for indexed files) and variable length records.

You use the device type DATABASE to associate a file in your ILE COBOL program with any database file or DDM file. Choosing DATABASE as the device type allows you to use any ILE COBOL database extensions. These database extensions include the following:

However, device type DATABASE does not support dynamic file creation or variable length records.


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