Product Documentation

FairCom ISAM for C

Previous Topic

Next Topic

CreateIndexFileXtd8

Extended 8-byte index file creation.

Short Name

CREIDXX8()

Type

Low-Level data file function

Declaration

COUNT CreateIndexFileXtd8(FILNO keyno, cpTEXT filnam,

COUNT keylen, COUNT keytyp, COUNT keydup,

COUNT nomemb, UCOUNT xtdsiz, COUNT filmod,

LONG permmask, cpTEXT groupid, cpTEXT fileword,

pXCREblk pxcreblk)

Description

In V12 the file number typedef was formally changed from COUNT, a two-byte value to FILNO, a four-byte value. Refer to this link for compatibility details. Four Byte File Numbering

CreateIndexFileXtd8() is a variation of CreateIndexFile() that permits the use of huge file support. This section expands on the description of CreateIndexFile() and CreateIndexFileXtd().

pxcreblk points to an XCREblk structure, the extended creation block. For more information, review Huge File Support.

Return

CreateIndexFileXtd8() returns similar error codes to those for CreateIndexFile() and CreateIndexFileXtd(). See FairCom DB Error Codes for a complete listing of valid FairCom DB error values.

See also

InitCTree, CreateIndexFile, CreateDataFile, CreateIndexFileXtd

TOCIndex