Product Documentation

FairCom ISAM for C

Previous Topic

Next Topic

Automatic Segments

The ctSEGAUTO file mode allows automatic segment generation. When this file mode is used, SetFileSegments is not required. Simply set the host segment size and maximum segments (the segsize and segmax elements of the Extended File Creation Block). All additional segments will be the same size as the host file and will be stored in the same directory. The segment names generated for a file start by adding “.001” to the existing file name, then incrementing the numeric extension. For example: The automatic segment names for the file sample.dat would start with sample.dat.001 and continues with sample.dat.002, and so on.

This option is supported by the ctcv67 conversion utility.