SA_IsiDelete


 

SA_IsiDelete deletes from the index file the first key encountered that meets the key specification and the corresponding record from the data file.

int SA_IsiDelete ( SA_FH IsiFH, u8 *Key, u16 KeyLen );

Parameters:
IsiFH
The handle of the previously opened or prepared ISAM file.
Key
Text that must match to qualify this record for deletion.
KeyLen
The length of the text in {Key}.

Note the following:

  1. If {Key} is null, the last record read will be deleted from the text file and the associated key entry from the ISI file.

  2. Function return codes are as follows:

  3.  

    Value

    Meaning

    1

    Success.

    0

    No records meeting this key specification.

    -nn

    Error as described in Sunaccess Errors

     



Sunaccess Reference SA_IsiUpdate SA_IsiDeleteD