DBL$SETKRF
Set the key of reference for the next operation on an ISAM file
|
|
VSupported on OpenVMS
|
|
xcall DBL$SETKRF(channel, key_number)
Arguments
channel
The channel on which the files are open. (n)
key_number
The key of reference for the next operation: (n)
0 = Primary key
1 – 7 = Alternate keys
Discussion
The DBL$SETKRF subroutine sets the key of reference that the next operation will use. It resets the current position in the file to the first record.
![]() |
We recommend you use the KEYNUM qualifier on I/O statements instead of the DBL$SETKRF subroutine. |
![]() |
You can call this routine as SETKRF as long as you don’t compile with the /NOGBLDEFS option. |