TurboIMAGE/XL Database Management System Reference Manual MPE/iX V6.5 (30391-90011)

398 Chapter8
Using the Database Utilities
>RECOVER
>RECOVER
Used to designate the name of a database to be roll-forward recovered; opens database root
file, validates logid and password with MPE/iX, and checks the DBSTORE flag. Multiple
databases can be roll-forward recovered concurrently if they have all logged to the same
log file by entering the >RECOVER command once for each database or as follows:
>RECOVER database name, database name
Syntax
>RECOVER
database name
[/
maint word
][.
group
[.
account
]]
Parameters
database name is the name of the TurboIMAGE/XL database to be recovered.
maint word is the maintenance word defined by the database creator. This word must
be supplied by anyone other than the database creator.
group is the group where the database(s) resides.
account is the account where the database(s) resides.
Discussion
If the >RECOVER command is accepted, the following message is returned:
DATABASE
database name
LAST DBSTORED
day, date, time
The following conditions must be satisfied before the >RECOVER command is accepted:
1. The database must be accessible to the user (database administrator) running
DBRECOV. This user must either be the creator of the database or know the
maintenance word. If the database resides in a group or account different from the
user's logon, the MPE/iX file security must permit the user read and write access to the
database files.
2. The database must be enabled for recovery.
3. The log identifier characteristics (name, password, log file name and device type) must
not have been altered since the log file was generated. This restriction applies to
MPE/iX log commands as well as those provided for TurboIMAGE/XL by DBUTIL. This
is necessary because the MPE/iX log identifier is used by TurboIMAGE/XL to obtain the
name and device type of the log file.
The >RECOVER command will not be accepted if the logid is unknown to MPE/iX.
However, if the logid is known to MPE/iX but specifies the wrong log file, this condition
is not detected at this time and >RECOVER will be accepted. DBRECOV will generate