OpenTP1 Version 7 Operation

[Contents][Index][Back][Next]

4.6.7 DAM file recovery

DAM file recovery is referred to as DAM FRC, and is executed by the damfrc command. When the damfrc command executes, logical files specified in the DAM service definition are recovered to their status immediately before an error occurred, using backup DAM files and specified unload journal files or using integrating journal files. Note that the damfrc command can only be executed for files to be recovered. Executing the command for a file not to be recovered has no effect.

When the damfrc command is executed, OpenTP1 creates inheritance files to be used with DAM FRC. An inheritance file is created under the file name jnlcolc*** (***: key) or jnlcolc***.bak (temporary backup file) in the current directory each time unload journal processing is completed. Inheritance files are used when DAM FRC is executed in multiple steps. The journal information that needs to be inherited is collected in the inheritance files. If the -e option is specified for DAM FRC, OpenTP1 deletes the inheritance files upon completion of DAM FRC.

For the DAM FRC execution procedure, see 10.2.6 DAM file.

Organization of this subsection
(1) DAM FRC execution in one step
(2) DAM FRC execution in multiple steps
(3) Simultaneous execution of multiple DAM FRC steps
(4) DAM FRC execution using an intermediate generation of system journal files
(5) DAM FRC execution using an integrating journal file

(1) DAM FRC execution in one step

For DAM FRC execution to be completed in a single step, the -s and -e options must both be specified in the damfrc command. Specifying the -s option does not inherit the previous DAM FRC.

(2) DAM FRC execution in multiple steps

If there are multiple unload journal files, DAM FRC can be executed in multiple steps. The -s option must be specified in the first damfrc command that is executed, and the -e option must be specified in the last damfrc command that is executed.

(3) Simultaneous execution of multiple DAM FRC steps

If multiple DAM FRC steps are to be executed simultaneously, the inheritance files must be created individually. In this case, the -k option must be specified in the damfrc command. If a different key is specified with the -k option, the corresponding inheritance file is created. The user must specify the -e option in the last damfrc command that is executed.

(4) DAM FRC execution using an intermediate generation of system journal files

If a DAM file is backed up in the online mode, DAM FRC can be executed using the subsequent generation of the system journal files. In this case, the -g option must be specified in the damfrc command.

(5) DAM FRC execution using an integrating journal file

Executing DAM FRC using an integrating journal file already created by the jnlcolc command reduces the DAM FRC processing time. In this case, the -c option must be specified in the damfrc command.