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

664 AppendixG
Recovery and Logging Quick Reference
Sample Job Streams
Must do a start recovery operation after a soft system crash to write a crash log record
to the log file.
Has overhead comparable to logging to tape.
NOTE
In the event of a system failure and subsequent start recovery operation and
when using private volumes, logging will not resume until these private
volumes have been mounted. Enter the MPE VMOUNT command into the
SYSSTART file to resume logging.
Sample Job Streams
This section shows a sample job stream which can be used to initiate a logging cycle. Prior
to using this job stream, you should check the MPE/iX logging configuration for adequate
capacity. Also shown in this section are sample job streams which can be used to recover a
database using either roll-forward recovery or roll-back recovery. You must decide which
recovery method to use and how often the database should be stored.
NOTE
You must have logging (LG) or operator (OP) capability to use the following
MPE/iX commands: GETLOG, RELLOG, ALTLOG, CHANGELOG, LISTLOG, and
SHOWLOGSTATUS. You must have LG or OP capability also if you intend to open
a database with logging enabled. Logging capability is acquired through the
MPE system manager and account manager commands.
In the following example, roll-forward recovery is being used and DBSTORE is used to
backup the database. If using roll-back recovery, replace the line >>ENABLE ORDERS FOR
LOGGING with >>ENABLE ORDERS FOR ROLLBACK. This enables the database for logging and
for roll-back recovery.