C-ISAM Files

PRO/5 supports an additional file type (called C-ISAM) on systems that provide a library for accessing and manipulating this file type. As of this writing, the run time modules for INFORMIX C-ISAM files are required. (The READ.ME file will document linkage to other C-ISAM libraries if they are supported in the future.) The manipulation is similar to that of a multi-keyed MKEYED file with the following differences:

READ operations will step through the file sequentially, ignoring removed records. EXTRACT operations will extract the next record to be read.

A WRITE operation to a file with a record currently extracted will update (replace) the extracted record with the current record.

A WRITE operation to a file that does NOT have a record extracted will insert the record.

A REMOVE statement must contain a KEY= parameter for syntax purposes, however, the value passed is ignored. KEY="" is valid. If there is an extracted record, that record will be removed. If there is NOT an extracted record, !ERROR=17 is reported.