KISAMWrite

int KISAMWrite(KHAND handle, char *lpRecbuf, ROWID *lpRowid)

Parameter Type Purpose
handle KHAND handle of table to be updated
lpRecbuf char * record buffer containing new row
lpRowid ROWID * The address of a buffer to receive the rowid of the newly inserted row..

This inserts a new record in lpRecbuf into the table updating the indices and returns its rowid It may fail with a return code of KE_DUPLICATE (4) if one of the keys cannot be inserted because of a uniqueness constraint on the index and an example of the key is already present.