KI_COMMIT

End a transaction on a database

Synopsis:
CALL KI_COMMIT connect TO status
status = 'ki_commit( connect )
ArgumentEnumerationPurpose
connectDatabase connection
statusKDB_ERROR_ENUMReturn status
>KI_COMMIT

KI_COMMIT

This function commits changes done since the last KI_BEGIN to the database open on the connection.

This mechanism for controlling transactions has been replaced in KCML 6.20 by the WHILE TRANS ... END TRANS loop which allows deadlocks to be handled automatically.

History
Introduced in KCML 5.00
See Also:
KI_BEGIN, KI_LOG_SYNC, KI_ROLLBACK, KI_SET_MODE, KI_SNAPSHOT, KI_TABLE_SYNC
KCML database status codes