![]() |
find a record in a key file, set the current record
find a record in a key file, set the current recordparameter mode specifies which record to find relative to the search key specified by skey and skeylen. the following values for mode are possible
PBLEQ - find a record whose key is equal to skey
PBLFI - find the first record that is equal
PBLLA - find the last record that is equal
PBLGE - find the last record that is equal or the smallest record that is greater
PBLGT - find the smallest record that is greater
PBLLE - find the first record that is equal or the biggest record that is smaller
PBLLT - find the biggest record that is smallerkeep in mind that PBL allows multiple records with the same key.
RESTRICTIONS:
- the out parameter okey must point to a memory area that is big enough to hold any possible key, i.e 255 bytes