SA_IsiUpdate


 

SA_IsiUpdate updates the last text record read in place. The index key file is unchanged.

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

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

Note the following:

  1. Any record with a complete end of line sequence, CR/LF for DOS or LF for Linux, will lose all text in the record after that sequence on a subsequent record retrieval.

  2. A record longer than the {reclen} parameter specified in SA_IsiPrep will be truncated.

  3. The text in key positions in the buffer should not be changed with this instruction, unless an SA_isiDeleteK and SA_IsiInsert operation follow to modify the index file.

  4. Function return codes are as follows:

  5.  

    Value

    Meaning

    nn

    Number of bytes written

    -nn

    Error as described in Sunaccess Errors

     



Sunaccess Reference SA_IsiWrite SA_IsiDelete