FairCom Corporation


F.26 CompactIFileXtd


Compresses a data file, then rebuilds to regenerate the indices.

Short Name

CMPIFILX

TYPE

Extended ISAM function

DECLARATION

COUNT CompactIFileXtd(pIFIL ifilptr, pTEXT dataextn,
pTEXT indxextn, LONG permmask,
pTEXT groupid, pTEXT fileword)

DESCRIPTION

CompactIFileXtd is the extended version of CompactIFile permitting the use of the c-tree Server security system.

In addition, it can be used to change the file name extension from the defaults used by CompactIFile. The period is not assumed in the extensions. For example, to name the data file "fname.dta", set dataextn to ".dta", not "dta".

Please read the description for CompactIFile and RebuildIFileXtd for additional information.

RETURN

A zero (0) return indicates successful operation. A non-zero return indicates an error, check isam_err. The error returns are similar OpenCtFile and RebuildIFileXtd. See Appendix A "c-tree Plus Error Codes" of the c-tree Plus Programmer's Reference Guide for a complete listing of valid c-tree Plus error values.

LIMITATIONS

Same as CompactIFile.

SEE ALSO

RebuildIFileXtd


FairCom Corporation
www.faircom.com