.PAGE;.FLAGS CAPITALIZE .paper size 58,70 .left margin 10 .right margin 70 .title ^^DATABASE SUBROUTINE CALLING CONVENTIONS\\ .center ^^BIO-DATA BASE SUBROUTINES\\ .skip .indent -5 ^^BLDHDR (root,nlv,levtab[,datype])\\ .BREAK ^Initializes the root block for a new file. .skip .indent -5 ^^OPENBF err=openbf(root,name,lun,access[,err])\\ .BREAK ^Opens a data base file. .skip .indent -5 ^^WRTKEY err=wrtkey(root[,key][,val][,mode][,err])\\ .BREAK ^Writes a unique key. .skip .indent -5 ^^WRTELE err=wrtele(root[,key][,val][,nul][,err])\\ .BREAK ^Writes an element (no check for duplicates.) .skip .indent -5 ^^FNDKEY err=fndkey(root[,patt][,key][,val][,err])\\ .BREAK ^Finds the next key that matches your pattern. .skip .indent -5 ^^MATCHK err=matchk(root[,patt][,key][,val][,err])\\ .BREAK ^Finds the next key that matches your pattern. .skip .indent -5 ^^GETKEY err=getkey(root[,nul][,key][,val][,err])\\ .BREAK ^Returns the currently active key. .skip .indent -5 ^^MODKEY err=modkey(root[,nul][,key][,val][,err])\\ .BREAK ^Modifies a database key. .skip .indent -5 ^^DELKEY err=delkey(root[,err])\\ .BREAK ^Deletes current key and all it's offspring. .skip .indent -5 ^^FILEID (root,nlv[,levtab][,datype][,verson])\\ .BREAK ^Inverse of BLDHDR, returns info from root block. .skip .indent -5 ^^LEVELD (root[,levno][,scansz][,datasz][,datype])\\ .BREAK ^Returns info about current level. .skip .indent -5 ^^KEYAGE err=(root,age[,err])\\ .BREAK ^Returns age of currently active key. .skip .indent -5 ^^RESETB (root)\\ .BREAK ^Resets search to first sibling in active branch of tree. .skip .indent -5 ^^PUSHLV err=pushlv(root[,err])\\ .BREAK ^Pushes down to next level of tree. .skip .indent -5 ^^BACKUP err=backup(root[,err])\\ .BREAK ^Backs up to the previous level of the tree. .skip .indent -5 ^^SYNCBF (root)\\ .BREAK ^Forces the disk file to match the core image. .skip .indent -5 ^^CLOSBF (root)\\ .BREAK ^Syncs and closes the DATABASE file. .page .CENTER ^^PARAMETER SUMMARY\\ .skip .indent -5 ^^ROOT\\ .BREAK ^A scratch area for the routines to store all core resident file blocks. .skip .indent -5 ^^NRLEVS\\ .BREAK ^The number of levels in the tree structure. .skip .indent -5