KEYEDIO Program Interface

Only the COBOL compilers and RPG compilers can create files that define keys within a record. All languages can use the INDEXEDNOTRESTRICTED value of the FILEORGANIZATION attribute and normal sequential or random I/O statements to access or create files sequentially or with relative keys. Files created and later opened as INDEXEDNOTRESTRICTED and used with keys have all keys updated during an update, even if you have not specified all the keys.

For RPG and COBOL, the procedures provided by the KEYEDIO library can be used only through normal compiler I/O constructs. For languages such as ALGOL and Pascal, the KEYEDIO operations are available through procedures provided by the GENERALSUPPORT library.