URL: http://www.firstbasesoftware.com/man/man1/dbvemit.htm
Last modified: 12 September 1995
Copyright © by FirstBase Software.
[ Index of Contents] [ FirstBase RDBMS Overview]


NAME

dbvemit - visual database emitter - dbvedit/dbemit fusion

SYNOPSIS

dbvemit
[-d database] [-i index] [-v view] [-c char_sep] [-q] [-bt begintoken]
[-et endtoken] [-a count] [emitfile]

DESCRIPTION

Dbvemit is a functional equivalent of dbvedit(1), without the actual reads and writes of records to a FirstBase database. Dbvemit(1) allows users to create records using the dbvedit(1) mechanism. But the created records are stored in a FirstBase loadable file, not in an actual database.

The resulting emitfile can be loaded directly into a FirstBase database using either dbload(1) or dbrload(1).

Most all functionality of the database editor dbvedit(1) is available from dbvemit(1). However, dbvemit(1) will always run in add mode, as if -a was used on dbvedit(1). This means that once a record is created, it cannot be re-edited using dbvemit(1).

Note that at least the database dictionary and database view files are required to make dbvemit(1) work. Also, the resulting emitfile will contain a slot for every field from the database, whether or not the fields are edited from the view dictionary file.

The -q flag can be used to force non numeric fields to be emitted within double quote marks. Also, the -c option can change the default field separator, |.

Beginning and ending tokens can be used to separate the individual "records" of the emitted file by using the -bt and -et flags. In this case, each individual record will begin with the begintoken and a newline. Similarly, each record -- after the normal newline separator -- will contain an endtoken and another newline.

The -a flag can be used to force exactly count "records" to be created before exiting.

FILES

*.vemit
extension for emitted loadfiles.

dbase
default name of database.

*.cdb
FirstBase database.

*.map
record map of FirstBase database.

*.ddict
FirstBase database dictionary file.

SEE ALSO

dbdbas(1), view(5), dbload(1)

FirstBase User's Guide and Reference Manual


URL: http://www.firstbasesoftware.com/man/man1/dbvemit.htm
Last modified: 12 September 1995
Copyright © by FirstBase Software.
[ Index of Contents] [ FirstBase RDBMS Overview]