next up previous contents
Next: SDB_READ Up: The SNOMAN SDB Interface Previous: SDB_INI

SDB_UTIL_GET_OPTION, SDB_UTIL_PUT_OPTION

These routines interrogate and modify the way the interface operates. An unusual feature of them is that it must be permitted to call them BEFORE SDB_INI, so that the initialisation process itself can optionally be controlled.

call SDB_UTIL_GET_OPTION(iopt_idx, iopt_val, chopt, iretc)

call SDB_UTIL_PUT_OPTION(iopt_idx, iopt_val, iretc)

iopt_idx: Option index.
ksdb_idx_which_bank: for a given instant of validity, there should be a bank which is valid for that time. This option determines whether you retrieve that bank (iopt_val = ksdb_opt_valid), or one which is valid for times immediately preceding (iopt_val = ksdb_opt_prev) or following (iopt_val = ksdb_opt_next) the effective validity range of the first.

ksdb_idx_validity_inst: determines whether the instant of validity is given by the (packed) date/time (iopt_val = ksdb_opt_date), or by the run number (iopt_val = ksdb_opt_run).

ksdb_idx_bank_type: determines whether the retrieved bank is the data bank (iopt_val = ksdb_opt_data) or the titles format bank (iopt_val = ksdb_opt_format).

ksdb_idx_verification: determines whether the data retrieved from the database is verified using the stored checksum (iopt_val = ksdb_opt_verify) or not (iopt_val = ksdb_opt_noverify).

chopt: character translation of iopt_val, if appropriate
iretc: (see SDB_INI)


SNOMAN Account
2/14/1998