KI_BU_OPEN

Open a flat file on a database handle

Synopsis:
CALL KI_BU_OPEN handle, file$ TO status
status = 'ki_bu_open( handle, file$ )
ArgumentEnumerationPurpose
handleHandle
file$Filename
statusKDB_ERROR_ENUMReturn status
>KI_BU_OPEN

KI_BU_OPEN

This function allows an unstructured flat file to be opened in the context of a database connection so that changes made to the file form part of a transaction and are logged in the recovery log. For this to work the updates should be made with KI_BU_WRITE and the files should be read with KI_BU_READ.

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