GetGTEVRecord
Read the variable-length record with key greater than or equal to target.
Short Name
GTEVREC()
Type
ISAM function
Declaration
COUNT GetGTEVRecord(FILNO keyno, pVOID target, pVOID recptr, pVRLEN plen)
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
GetGTEVRecord() is the same as its fixed-length counterpart, GetGTERecord(), except one new argument has been added: plen.
plen acts as both an input and output parameter:
See the GetGTERecord() function description for additional important information.
Return
Value |
Symbolic Constant |
Explanation |
---|---|---|
0 |
NO_ERROR |
Successful retrieval of current ISAM record. |
633 |
NPLN_ERR |
recptr is NULL. No data file read performed. |
634 |
NLEN_ERR |
Could not lock data record. No data file read performed. |
See FairCom DB Error Codes for a complete listing of valid FairCom DB error values.
See also
GetGTVRecord(), GetLTEVRecord(), GetLTVRecord(), TransformKey()