Product Documentation

FairCom ISAM for C

Previous Topic

Next Topic

GetAltSequence

Retrieve information from a data file relating to an alternate collating sequence that has been stored as a Resource.

Short Name

GETALTSEQ()

Type

Low-Level index file resource function

Declaration

COUNT GetAltSequence(FILNO keyno, pCOUNT altseq)

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

GetAltSequence() returns the alternative collating sequence into the array of 256 short integers pointed to by altseq.

Return

Value

Symbolic Constant

Explanation

22

FNUM_ERR

keyno out of range.

26

FACS_ERR

keyno is not active.

401

RNON_ERR

RESOURCES not enabled.

408

RNOT_ERR

No alternative collating sequences assigned to index file.

438

DZRO_ERR

No alternative collating sequences assigned to index file.

See FairCom DB Error Codes for a complete listing of valid FairCom DB error values.

See also

SetAlternateSequence()

TOCIndex