KI_BU_WRITE

Write a flat file from a database handle

Synopsis:
CALL KI_BU_WRITE handle, SYM(rowbuf$), offset, len TO status
status = 'ki_bu_write( handle, SYM(rowbuf$), offset, len )
ArgumentEnumerationPurpose
handleHandle
SYM(rowbuf$)Symbol of data buffer
offsetOffset to start writing from
lenNumber of bytes to write
statusKDB_ERROR_ENUMReturn status
>KI_BU_WRITE

KI_BU_WRITE

This function allows writing an arbitrary number of bytes at any location in the flat file previously opened on the handle by KI_BU_OPEN or KI_BU_CREATE. The update will be logged to the transaction log and can be rolled back if the transaction is abandoned.

History
Introduced in KCML 5.00
See Also:
KI_BU_CREATE, KI_BU_OPEN, KI_BU_READ, KI_CLOSE
KCML database status codes