Use the :GETLOG command to create a logid
for the application. If data security is required, use the ;PASS
option of the :GETLOG command. Specify the configured device
class name (DISC or TAPE).
If the logid specified in the :GETLOG command
is associated with a disc file, build the file with the
;CODE=LOG option of the :BUILD command
and enough disc space to contain one day's
output.
Design the application and data structures.
Determine what information will be required for recovery
of the application's data structures.
Write the application and include a separate file which
contains the identification information, and include the appropriate
calls to User Logging intrinsics to record the data necessary for
recovery.
Design and write the recovery program. The recovery program
must recognize the User Logging file record formats and the
application's data structures.
Have the logging process for your logid started
(refer to the :LOG command in the MPE/iX Commands
Reference Manual (32650-90003)).
Store a copy of the application's data structure to a
backup medium in case recovery procedures are required.
Run the application.
If it is necessary to recover the data structures,
:RESTORE the backup copies and run the recovery program.
This recovers any changes that were made to the data structures since
backup was done.