SDMT: SnoDb Multi-file support: Titles look-up


    Contact:  N. West,  Oxford.
 
    Revision History:-
    ================
 
    5.01  N. West     First version.


 
Titles Files
------------
 
sdb_multi_file.dat
 

Description
-----------
 
This bank provides the look-up that maps a title bank to a search
strategy bank (SDMS) that determines how the bank is distributed
across a physical set of database files that correspond to a single
logical database.  If a bank has no matching entry in this table then
all its data is assumed to be in a single DB file.
 
 
Data Words
---------
 
        Data types: B(bit), I, F, D(double), H(hollerith 4 char)
 
        Fixed length Database Header.  See titles_dbhdr.html

 Word   Mnemonic      [symbolic command]  Description
 ----   --------      ------------------------------- 
        KSDMT...
 
   1  I _NW_ENT       Number of words in look-up table entry = 4
   2                  Spare ...
 ..                   ...
  10                  Spare

  10  I _LUT_BASE     Base address on the look-up table.

  There now follows the look-up table.  It consists a series of KSDMT_NW_ENT word entries.
  Mnemonics are relative.  For example:-

      KSDMT_LUT_BASE + i*KSDMT_NW_ENT + KSDMT_LUT_BANK_NAME

  is the address of the Titles bank name for the ith entry (starting at 0)

  i+1 H _LUT_BANK_NAME      Titles bank name
  i+2 I _LUT_BANK_NUM_MIN   Titles bank minimum bank number
  i+3 I _LUT_BANK_NUM_MAX   Titles bank maximum bank number
  i+4 I _LUT_SDMS_NUM       Bank number of the corresponding SDMS


Go Back to the Snoman Companion Top Page