SA_IsiInsert
SA_IsiInsert writes an index record key associated with the last record read or written into a secondary index file.
int SA_IsiInsert ( SA_FH IsiFH, u8 *Key, u16 KeyLen );
Note the following:
The text in key should match the corresponding positions in buffer that were defined for the key information. If the key positions were defined as '21-25,3-7', positions 1-5 of key should match positions 21-25 of buffer and positions 6-10 of key should match positions 3-7 of buffer. If they do not match, the record will not be retrievable with this key after the file has been re-indexed with the Sunindex utility.
Function return codes are as follows:
|
Value |
Meaning |
|
1 |
Success. |
|
-nn |
Error as described in Sunaccess Errors |
![]() |