DBOPEN - Databank Open functionality
DBOPENis run in multi-user mode, the index pages of the databank are checked before databank access can proceed, but the bulk of the databank contents (contained in the data pages) is checked in the background, thus minimizing the delay.
The checking performed by
DBOPENis done by the background threads, see Number of Background Threads. Therefore, increasing the number of background threads will increase the efficiency of the checking.
DBOPENfunctionality should normally be run as soon as the database server has been started.
The overall syntax for
DBOPENis:dbopen [-s | -m] [-u[username]] [-p[password]] [database]
To connect as OS_USER, give
If the switch is omitted the user is prompted for a password, unless OS_USER is specified with the username switch, as described above.VMS: Note that in a Open VMS environment it might be necessary to enclose the password in quotation marks as the value otherwise is translated to upper case.
If the optional database name is not specified, the default database will be accessed, see The Default Database.
If the username or password arguments are omitted, the program will prompt for these values.
-mis specified for the optional mode flag, the way the database is accessed will be determined by the setting of the
MIMER_MODEvariable, see Specifying Single-user Mode Access, or, if this is not set, it will be accessed in multi-user mode.
VMS: Either the UNIX-style or the VMS-style command-line flags may be used on an OpenVMS machine - see the Mimer SQL VMS Guide for more details.
DBOPENprogram returns an error status to the operating system when an error is encountered. This may be useful when running it from scripts or in batch mode.
Mimer Information Technology AB
Voice: +46 18 780 92 00
Fax: +46 18 780 92 40