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 ".database"). 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.

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)