DBFILE(5)                 FILE FORMATS                  DBFILE(5)



NAME
     ".db" - File containing textual EPICS database  records  and
     field values

SYNOPSIS
     file_name.db

DESCRIPTION
     This is a file which holds EPICS database  record  instances
     in a human readable format.  It is a replacement for the old
     dct short form report.  The general format is as follows:

     database(database_name,"epics_release")
     {
          record( rec_type, "record_name-1" )
          {
               field( field_name-1, "field_value-1" )
               field( field_name-2, "field_value-2" )
               field( field_name-3, "field_value-3" )
               .
               .
               .
          }
          record( rec_type, "record_name-2" )
          {
               field( field_name-1, "field_value-1" )
               field( field_name-2, "field_value-2" )
               field( field_name-3, "field_value-3" )
               .
               .
               .
          }
          .
          .
          .
     }

     The database_name is  a  name  used  to  generate  a  binary
     ".database"  file  with  (do  not  use the extension ".data-
     base").  The epics_release will  probably  be  the  3.11  or
     greater.  The rec_type is any valid record type defined in a
     default.dctsdr file.  The record_name can be any  string  up
     to  29  characters  in  length.  The field_name is any valid
     field  name  for  the  record  type,  always  four  or  less
     alphanumeric characters.  The field_value is any string that
     is valid input for the field_name.

EXAMPLES
     The following  is  an  example  of  a  database  with  three
     records.   The first two records use all default values, the
     third replaces the SCAN field and VAL field.




Sun Release 4.1     Last change: 04 Nov 1993                    1






DBFILE(5)                 FILE FORMATS                  DBFILE(5)



     database(test)
     {
          record(ai,"ai_record")
          record(bo,"bo_record")
          record(stringout,"sout_record")
          {
               field(SCAN,"1 second")
               field(VAL,"This is a string")
          }
     }

SEE ALSO
     gdct(1), db2database(1), dbLoadRecords(3), sf2db(1)










































Sun Release 4.1     Last change: 04 Nov 1993                    2