SA_IsiDeleteD


 

SA_IsiDelete deletes from the index file the last duplicate record read and its key.

int SA_IsiDeleteD ( 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 index file.

  2. If {Key} points to a key string, the last record read will be deleted from the text file and the associated key entry from the index file after verification.

  3. Function return codes are as follows:

  4.  

    Value

    Meaning

    1

    Success.

    0

    No records meeting this key specification.

    -nn

    Error as described in Sunaccess Errors

     

     



Sunaccess Reference SA_IsiDelete SA_IsiDeleteDK