SDMV: SnoDb Multi-file support: Validation


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


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

Description
-----------
 
This bank provides simple validation of the system.  It consists
of a list of bank names, numbers and contexts along with the expected
results (the validity range and physical database).  It is used by
mt_sdb_mf_test and activated 
by:-

   $sdb_multi_file_test 
 
 
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
 ----   --------      ------------------------------- 
        KSDMV...
 
   1  I _NW_ENT       Number of words in test table entry = 12
   2                  Spare ...
 ..                   ...
  10                  Spare

  10  I _TST_BASE     Base address on the test table.

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

      KSDMV_TST_BASE + i*KSDMV_NW_ENT + KSDBV_IN_NUMBER

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

 i+ 1 I KSDBV_IN_NAME             Test input:  name 
 i+ 2 I KSDBV_IN_NUMBER           Test input:  number
 i+ 3 I KSDBV_IN_DATA_TYPE        Test input:  context data type  
 i+ 4 I KSDBV_IN_DATE             Test input:  context date
 i+ 5 I KSDBV_IN_TIME             Test input:  context time  
 i+ 6 I KSDBV_IN_SUBRUN           Test input:  sub-run number
 i+ 7 I KSDBV_OUT_EFF_DATE_START  Test output: effective start date
 i+ 8 I KSDBV_OUT_EFF_TIME_START  Test output: effective start timee
 i+ 9 I KSDBV_OUT_EFF_DATE_END    Test output: effective end date
 i+10 I KSDBV_OUT_EFF_TIME_END    Test output: effective end time
 i+11 I KSDBV_OUT_DATA_TYPE       Test output: data type 
 i+12 I KSDBV_OUT_DB_NUM          Test output: physical database number


Go Back to the Snoman Companion Top Page