Product Documentation

FairCom ISAM for C

Previous Topic

Next Topic

ctflat - Create FairCom DB file from a flat file


ctflat <flat file> <new file> <record length> [<file mode> <ext size>]


ctflat creates a FairCom DB fixed-length data file from an existing flat file with the specified record length. Optionally, you can specify the file mode to use when creating the file. For example, to enable transaction processing and the file size extension parameter.

ctflat assumes that the flat file begins at offset zero and has the record length indicated on the command line. You can modify the source to make it more appropriate for your specific circumstances.