E Obsolete Database Utilities

The DBMAINT Statement

The DBMAINT statement allows you to change the maintenance password for a specified database. Syntax for this statement is as follows:

DBMAINT root file spec, old word TO new word

The root file spec is a string expression containing the root file specifier and, optionally, its volume specifier. The old word and new word parameters are string expressions from 0 through 16 characters. Allowable characters are A through Z, 0 through 9, and the underscore character "_". The old word specified must match the current maintenance word for the database. The maintenance word is established when the root file is created via the DBCREATE statement. For example, the following statement changes the maintenance password for the LEDGER database from SECRET to MANAGER:

   DBMAINT "LEDGER", "SECRET" TO "MANAGER"

Eloquence Database Manual - 19 DEC 2002