E Obsolete Database Utilities

The DBPASS Statement

The DBPASS statement allows you to change the password for a stated user class number. Syntax for this statement is as follows:

DBPASS root file spec, user-class number, old password TO new password

The root file spec is a string expression containing the root file name and, optionally, its volume specifier. The user-class number is a numeric expression ranging from 1 through 31. The old password and new password parameters are string expressions from 0 through 8 characters in length and may be terminated by a space or semicolon. Longer strings are automatically truncated. Allowable characters are A through Z, 0 through 9, and the underscore character "_". The old password specified must match the corresponding password on the root file. For example, the following statement changes the password FRED to FRIEDA for user class 1:

   DBPASS "LEDGER",1,"FRED" TO "FRIEDA"

Eloquence Database Manual - 19 DEC 2002