Rules for saving and restoring journals
IBM recommends that you save the remote journal network after the addition of any and all remote journals that will be associated with the journal. This includes saving the local journal and any associated remote journals, as well as the journal receivers that are associated with the local journal.
Follow the basic save and restore rules for journals that are listed here:
- A saved local journal is always restored as a local journal.
- A saved remote journal is always restored as a remote journal.
- As with all prior save and restore support for journals, the support will not allow a restore-over operation for a journal. This is true for both local and remote journals.
- When restored, a local or remote journal is always restored to the library from which it was saved. For a local journal, this library is referred to as the original journal library. For a remote journal, this library is referred to as the redirected journal library.
For a remote journal, library redirection may not have been specified when adding the remote journal to the local journal's definition. If this occurs, then the redirected journal library name is the same name as the original journal library name.
This is always true except in the case where the journal was saved from library QRCL. (The journal could reside in library QRCL due to prior Reclaim Storage processing.) In that case, the RSTLIB parameter must be specified on the restore request, and specify the library where the journal originally resided. For a local journal, this is existing support and is not new. For a local journal, the library that must be explicitly specified is the original library.
This support logically extends to remote journals. For a remote journal, the redirected library must be explicitly specified on the RSTLIB parameter of the restore request.
- If remote journals are associated with a journal when a journal is saved, the information that is related to the added remote journals is also saved.
When the journal is restored, the information that is saved about its remote journals is also restored if restored to the same system with the same name. If the system is different or the name of the system was changed since the save, the remote journal information will not be restored when the journal is restored. This information is included as part of that journal's definition. This is true whether the journal being saved is a local or a remote journal. When restored, the restored journal's definition will only include the saved, immediately downstream remote journal definitions.
None of the actual downstream remote journals are actually verified as part of the restore operation. Any necessary validation of the remote journal information occurs when you activate that particular remote journal by using the Change Journal State (QjoChangeJournalState) API or Change Remote Journal (CHGRMTJRN) command.
- Local journals are restored to the same state in which they are saved.
Parent topic:
Considerations for save and restore operations with remote journals