MPE/iX Intrinsics Reference Manual (32650-90875)

Chapter 5 189
Command Definitions (FCONTROL - FLOCK)
FFINDBYKEY
2 Equal to or greater than
When
relop
is set to 1 or 2, the search is for an approximate key.
Operation Notes
Split stack calls are permitted.
Can be used prior to a call to FREADC to position the chronological pointer to the record
located by the specified key.
To locate and read a single record, use the FREADBYKEY intrinsic.
Condition Codes
CCE (2) Request granted.
CCG (0) Request denied. The requested position was beyond the logical end-of-file
or beginning-of-file.
CCL (1) Request denied. An error occurred: an I/O error occurred, the
relop
parameter could not be satisfied, a
length
less than the full length was
specified for a key with numeric display or packed decimal format, or a key
was not found when
relop
=0.
Related Information
Intrinsics FREADBYKEY
Manuals Using KSAM XL and KSAM/3000 Reference Manual