next up previous contents
Next: Technical Information Up: Creating Titles Previous: Designing the Bank   Contents

Creating the Bank

Initially new banks are created in some temporary file, say SCRATCH.DAT (see 8.1.3), following standard ZEBRA TZ (Titles Handling) format. See the ZEBRA TZ Reference Manual for full details, but the following example will serve to illustrate the most important features:-

*LOG
*---  Standard Titles File: geometry.dat               11 Aug 1995
*---                 Banks: GEDP, GEDS, TGEO
*LOG OFF
*---
*---    Geometry (GEO):  Detector Geometry control bank.
*---
*---    Contact:  N. West  Oxford.
*---
*---
*DO   TGEO    1 -i(31I 2F -I) -n20 #.  Detector Geometry control bank.
#.
#.
#.       Standard Database Header
#.
19750101        0 20380516   223319  #.  1..4   
       0        0        0           #.  5..7   
       0        0        0           #.  8..10  
19750101        0 20380516   223319  #. 11..14  
       0        0                    #. 15..16  
4*0                                  #. 17..20  
10*0                                 #. 21..30  
#.
#.    End of Standard Database Header
#.
#.    User Data.
0                            #. Partial fill flag
20.                          #. Partial fill D2O level.
50.                          #. Partial fill H2O level.
0                            #. Debug flags.
6*0                          #. Spare.
Note that:-

Titles files should only be used to input only those banks which have been editted by the user; default titles banks will be read in binary format from the SNO database. However, before new banks (titles) can be entered into the database, they will have to be allocated a directory and alias. Please contact database people (database specialist?) and discuss your requirements with them.


next up previous contents
Next: Technical Information Up: Creating Titles Previous: Designing the Bank   Contents
sno Guest Acct 2009-09-09