Deleting journal receivers

 

Journal receivers can quickly use a lot of auxiliary storage space. Therefore an important journal management task is to delete journal receivers after you no longer need them.

When you determine whether to delete a journal receiver, consider the following:

The rules for deleting journal receivers are as follows:

To delete journal receivers, take the following 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. Click the schema you want to work with.

  5. Right-click the journal receiver you want to delete and click Delete.

  6. At the Confirm Object Deletion dialog click Delete.

You can also use the Delete Journal Receiver (DLTJRNRCV) command to delete journal receivers. If you use the DLTJRNRCV command, an exit point is available to use with an exit program to help automate journal receiver deletion.

One example of using this exit point is a situation where your application is using the data in the journal receiver. The application is dependent on the journal receiver being present until your application processing is complete. By registering an exit program with the QIBM_QJO_DLT_JRNRCV exit point, the program will be called every time a journal receiver is deleted from the system. If your program determines that your application is not yet done with the receiver, it can indicate that the journal receiver is not eligible for deletion.

If delete the receiver regardless of what an exit program indicates, you can specify *IGNEXITPGM for the DLTOPT parameter on the DLTJRNRCV command. This parameter value requests that any user exit programs that are registered for QIBM_QJO_DLT_JRNRCV exit point be ignored.

You can also use the following values for the DLTOPT parameter:

*IGNTGTRCV

Ignore target receiver. If you specify this value, the system does not verify that all remote journals that are associated with this journal, and are immediately downstream on a target system, have full copies of this journal receiver. The delete operation will continue, even if a remote journal does not have a full copy.

*IGNINQMSG

Ignore inquiry message. Inquiry message CPA7025 will not be presented, even if this receiver has not been fully saved. Also, inquiry message CPA705E is not presented to the user even if the receiver is attached to a remote journal. The delete operation continues.

 

Parent topic:

Swapping, deleting, and saving journals and receivers

Related concepts
Journal message queue Manual versus system journal-receiver management Automatic deletion of journal receivers Working with pointers in journal entries Journal receiver management with remote journals