GetVRecord
Read the variable-length record with a key equal to target.
Short Name
EQLVREC()
Type
ISAM function
Declaration
COUNT GetVRecord(COUNT keyno, pVOID target, pVOID recptr, pVRLEN plen)
Description
GetVRecord() is the same as its fixed-length counterpart, GetRecord(), except one argument has been added: plen.
plen acts as both an input and output parameter:
Read the function description for GetRecord() 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. |
See c-tree Error Codes for a complete listing of valid c-tree error values.
See also
GetRecord(), GetGTEVRecord(), GetGTVRecord(), GetLTEVRecord(), TransformKey()