SA_IsiReadKS


 

SA_IsiReadKS allows reading of records after a successful indexed read in ascending order.

int SA_IsiReadKS ( SA_FH IsiFH, u8 *Buffer, u32 BufLen );

Parameters:
IsiFH
The handle of the previously opened or prepared ISAM file.
Buffer
The buffer filled by the operation.
BufLen
The length of the {Buffer}.

Note the following:

  1. The buffer size must be equal to or larger than the reclen parameter specified in SA_IsiPrep plus one (1) for null termination.

  2. A null buffer pointer will allow positioning to the indicated record without actually reading it.

  3. Function return codes are as follows:

  4.  

    Value

    Meaning

    nn

    Number of bytes read + 1.

    0

    No record meet this key specification.

    -nn

    Error as described in Sunaccess Errors

     

     



Sunaccess Reference SA_IsiRead SA_IsiReadKP