Swapping journal receivers

 

An important task for journal management is to swap journal receivers. You typically swap journal receivers when they reach their storage threshold. You can swap journal receivers either with iSeries™ Navigator or with the Change Journal (CHGJRN) command. If you use system journal-receiver management, the system changes journal receivers for you.

You can use iSeries Navigator or the Change Journal (CHGJRN) command to change the attributes of the journal. You can also use the iSeries Navigator or the CHGJRN command to change the receiver for a journal (detach the current receiver, create and attach a new receiver) and to reset the sequence number for journal entries.

When you swap a journal receiver, the old journal receiver becomes detached. When you detach a journal receiver, you cannot reattach it to any journal. You can do these things with a detached journal receiver:

You must swap journal receivers to change the following journaling attributes:

To use iSeries Navigator to swap a journal receiver without changing options, follow these steps:

  1. In the iSeries Navigator window, expand the system you want to use.

  2. Expand Databases.

  3. Expand the database that you want to work with and Schemas.

  4. Right-click the journal you want to use and select Swap Receivers. The system generates a new name when it creates the receiver.

To change options when you swap a journal receiver with iSeries Navigator, proceed as follows:

  1. In the iSeries Navigator window, expand the system you want to use.

  2. Expand Databases.

  3. Expand the database that you want to work with and Schemas.

  4. Double-click the journal you want to use.

  5. Select Swap receivers and the journaling options you want to use.

  6. Click OK. The Journal properties dialog closes. The new journal receiver is automatically created and attached.

You can also use JRNRCV(*GEN) on the Change Journal (CHGJRN) command to create the new receiver with the same attributes as the currently attached receiver, and in the same library. These attributes include the owner, private authorities, public authority, object auditing, ASP identifier, threshold, and text.

You must use the CHGJRN command to change the journaling options to one of the following:

CAUTION:
If you use save-while-active operations to save objects before they reach a commitment boundary, ensure that you save the journal receiver after you detach it. If you delete the journal receiver before it is saved, you can lose the ability to recover any pending transactions for those objects.

 

Parent topic:

Swapping, deleting, and saving journals and receivers

Related concepts
Manual versus system journal-receiver management Threshold (disk space) for journal receivers Working with inoperable journal receivers Working with IBM-supplied journals Swapping journal receiver operations with remote journals