Inactivate the replication of journal entries to a remote journal

When you end replication of journal entries to a remote journal, it is recommended that the replication of entries be ended from the source system whenever possible, rather than from the target system. Usually, ending replication from the target system for a remote journal is only necessary when the source system has failed, and the system has not ended the remote journal function.

If you are inactivating an asynchronously maintained remote journal, you can request that the remote journal function be ended immediately or in a controlled fashion. For an immediate end, any journal entries which have already been queued for replication will not be sent to the remote journal. For a controlled end, any journal entries which have already been queued for replication will be sent to the remote journal. When all queued entries have been sent to the target system, the system sends message CPF70D3 to the journal message queue. The message indicates that the remote journal function has been ended. If you are inactivating a synchronously maintained journal, the remote journal function is ended immediately, regardless of whether an immediate or controlled end was requested. Similarly, if the remote journal is in the catch-up phase of processing, the remote journal function is ended immediately. This is also regardless of whether an immediate or controlled end was requested.

To inactivate the replication of journal entries proceed as follows:

  1. In the iSeries™ Navigator window, expand the system you want to use.
  2. Expand Databases.
  3. Expand the database that contains the journal.
  4. Expand Schemas.
  5. Click the schema that contains the journal that has the associated remote journal that you want to activate.
  6. Right-click the journal, and select Properties.
  7. On the Journal Properties dialog, click Remote Journals.
  8. On the Remote Journals for dialog, select the remote journal in the list of remote journals, and then click Deactivate to inactivate the selected remote journal.

You can also use the Change Journal State (QjoChangeJournalState) API and Change Remote Journal (CHGRMTJRN) command to inactivate the replication of journal entries to a remote journal. For this purpose, the API can be initiated from either the source system or the target system. The CHGRMTJRN command can only be initiated from the source system. You can also use the Change Journal (CHGJRN) command on the target system to inactivate the remote journal.

Related concepts
Remote journal considerations when restarting the server
Related tasks
Delete journal receivers
Delete journals
Remove remote journals
Catch-up phase for remote journals
Details: Recovery for remote journaling scenario
Related reference
Change Journal State (QjoChangeJournalState) API
Change Remote Journal (CHGRMTJRN) command
Change Journal (CHGJRN) command