KI_BOUND_COL

Return sym of variable bound to a result set column

Synopsis:
CALL KI_BOUND_COL handle, col TO bound_var, status
status = 'ki_bound_col( handle, col )
ArgumentEnumerationPurpose
handleResult set handle
colColumn number or name
bound_varVariable that is bound
statusKDB_ERROR_ENUMReturn status
>KI_BOUND_COL

KI_BOUND_COL

This function is used to find a variable in the program that is bound to a column in a rowset open on handle. The column is specified by its column ordinal col which is counted from 1 or by its column name.

CALL KI_BOUND_COL handle, "userid" TO sym, status

See also:

KI_BIND_COL
History
Introduced in KCML 6.60
See Also:
KI_BIND_COL, KI_BIND_PARAM, KI_BOUND_PARAM, KI_COLUMNS, KI_DATABASES, KI_DEFAULT_ROW, KI_DESCRIBE_COL, KI_ERROR, KI_ERROR_TEXT, KI_EXECUTE, KI_FETCH, KI_GET_COL_LIST, KI_GET_ERROR_TEXT, KI_PARTITIONS, KI_PREFETCH_ROWS, KI_PREPARE, KI_SESSIONS, KI_SET_COL_LIST, KI_SQL, KI_SQL_XML, KI_TABLES, KI_TABLESPACES
KCML database status codes