B DBML Syntax

Utility Statements

DBCREATE base$ [;maint$] [,set list$] [,return var]

The DBCREATE statement creates the data sets associated with a root file. Options are available for creating either all sets or only specific sets. A maintenance password may be specified for the first time DBCREATE is used to define a password. This password must be used on all subsequent accesses to the database via utilities statements.

DBERASE base$ [;maint$] [,set list$] [,return var]

The DBERASE statement erases all data sets or any group of data sets in the database.

DBPURGE base$ [;maint$] [,set list$] [,return var]

The DBPURGE statement purges either all data sets or any group of data sets in the database.

Utility Statement Parameters

base$
A string expression evaluating to the database name. An optional volume label or unit specifier can be appended to the database name.
maint$
A string expression evaluating to the maintenance password.
set list$
A string expression identifying particular data sets. Data sets are specified by either name or number. Set identifiers are separated by commas.
vol spec$
A string expression evaluating to a volume label or unit specifier.
return var
A numeric variable in which an error number is returned (refer to page 197 ). 0 is returned if no error occurs.

Eloquence Database Manual - 19 DEC 2002