KI_SIZE_FILE

Find the expected size of a table

Synopsis:
CALL KI_SIZE_FILE handle, dictfile$, rows, rowlen, SYM(keyspec$()), blocklen, packing, filetype TO status, [size]
'ki_size_file( handle, dictfile$, rows, rowlen, SYM(keyspec$()), blocklen, packing, filetype, [size] )
ArgumentEnumerationPurpose
handleHandle
dictfile$Dictionary name (not used)
rowsNumber of required rows
rowlenRow length in bytes
SYM(keyspec$())Symbol of key details
blocklenIndex block size
packingPercentage packing factor
filetype1 for type 6 tables
statusKDB_ERROR_ENUMReturn status
sizeSize in 256 byte allocation units
>KI_SIZE_FILE

KI_SIZE_FILE

This call can be used to size the number of bytes required to create a table with the specification supplied. For more information about how the specification is interpreted see KI_CREATE. The size is returned as a count of 256 byte allocation units.

History
Introduced in KCML 5.00
See Also:
KI_COPY_TABLE, KI_CREATE, KI_CREATE_TMP, KI_DELETE_ROWS, KI_GET_SERIAL, KI_GROW, KI_INFO, KI_INITIALISE, KI_LOCK_ALL, KI_LOCK_OWNER, KI_MOVE_ROWS, KI_MOVE_TABLE, KI_OPEN, KI_READ, KI_READ_HOLD, KI_READ_HOLD_NEXT, KI_READ_HOLD_PTR, KI_READ_NEXT, KI_READ_PTR, KI_READ_RAW, KI_REBUILD, KI_REWRITE, KI_SET_EXTENT, KI_SET_ROWS, KI_SET_SERIAL, KI_SET_WLOCK_COUNT, KI_START, KI_START_BEG, KI_UNLOCK, KI_UNLOCK_FILE, KI_VERIFY, KI_WMODE_BITMAP, KI_WRITE, KI_WRITE_PTR, KI_WRITE_RAW, KI_WS_CREATE, KI_WS_DELETE, KI_WS_OPEN, KI_WS_READ, KI_WS_REWRITE, KI_WS_WRITE
KCML database status codes