LastInVSet
Read the last variable-length data record in the set defined by target.
Short Name
LSTVSET()
Type
ISAM function
Declaration
COUNT LastInVSet(COUNT filno, pVOID target, pVOID recptr,
COUNT signlen, pVRLEN plen)
Description
LastInVSet() is identical to it’s fixed-length counterpart, LastInSet(), except that it reads the last variable-length data record in the set defined by target and siglen. If successful, this record becomes the current ISAM record for the associated data file.
plen acts as both an input and output parameter:
Read the function description for LastInSet() for additional important information.
Return
Value |
Symbolic Constant |
Explanation |
---|---|---|
0 |
NO_ERROR |
Successful retrieval of current ISAM record. |
633 |
NPLN_ERR |
plen is NULL. |
634 |
NLEN_ERR |
plen is negative on input. |
See c-tree Error Codes for a complete listing of valid c-tree error values.
See also
LastInSet(), NextInVSet(), PreviousInVSet(), TransformKey()