KI_BU_READ

Read a flat file on a database handle

Synopsis:
CALL KI_BU_READ handle, SYM(rowbuf$), offset, len TO status
status = 'ki_bu_read( handle, SYM(rowbuf$), offset, len )
ArgumentEnumerationPurpose
handleHandle
SYM(rowbuf$)Symbol of data buffer
offsetOffset to start reading from
lenNumber of bytes to read
statusKDB_ERROR_ENUMReturn status
>KI_BU_READ

KI_BU_READ

This function allows reading an arbitrary number of bytes from any location in the flat file previously opened on the handle by KI_BU_OPEN or KI_BU_CREATE. This will take account of the fact that the file may have been modified in the same transaction.

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