OpenTP1 Version 7 Operation

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

10.2.3 Archive journal files

Organization of this subsection
(1) During online operation
(2) During restart

(1) During online operation

(a) During write operation

(i) Swap-in file group exists
If an error occurs while a journal is being written into the current file groups, the file groups are swapped, and journal data is output to the new current file group. The current file group used before swapping is closed and placed on reserve status. This file group must be unloaded with the jnlunlfg command.
If the file group cannot be unloaded, the steps described below must be taken. Because the journal file cannot be retained in such a case, a backup copy must be made in advance, as DAM FRC or TAM FRC cannot be executed without the journal.
  1. With the jnlrm command, delete the file group that cannot be unloaded.
  2. Re-create the file group with the jnlinit command.
  3. Open the file group with the jnlopnfg command.

(ii) No swap-in file group
If there is no swap-in file, OpenTP1 terminates abnormally. In this case, however, the OpenTP1 at an archive-journal source node continues. The following steps must then be taken:
  1. Unload all file groups on unload wait status with the jnlunlfg command.
  2. Restart OpenTP1.
(b) During read operation

If dual system archive journal files are used, a journal is read from the current file in the A system. If an error occurs while the current file in the A system is being read, the current file is switched to the one in the B system in order to read the journal.

(2) During restart

If an error occurs when the journal output position is recovered after the file group status has been recovered during restart, reading journals is suspended and the process of restarting OpenTP1 continues. The journal output position must be determined on the basis of the journal that had been read until the error occurred.

Archiving is restarted with the lost journal or the journal that could not be read after completion of restart of OpenTP1.