Set up journaling

Provides instructions on how to set up journals and journal receivers.

After you have decided how you will use journaling, follow these steps to set up journaling on your system. If you have decided to use more than one journal, work through all the steps for one journal at a time. Then repeat the steps for the next journal.

IBM grants you a nonexclusive copyright license to use all programming code examples from which you can generate similar function tailored to your own specific needs.

You can choose one of the following methods to set up journaling:

For information about the difference between the two methods, see iSeries Navigator versus character-based interface for object journaling.

Start of changeSUBJECT TO ANY STATUTORY WARRANTIES WHICH CANNOT BE EXCLUDED, IBM, ITS PROGRAM DEVELOPERS AND SUPPLIERS MAKE NO WARRANTIES OR CONDITIONS EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OR CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT, REGARDING THE PROGRAM OR TECHNICAL SUPPORT, IF ANY. End of change

Start of changeUNDER NO CIRCUMSTANCES IS IBM, ITS PROGRAM DEVELOPERS OR SUPPLIERS LIABLE FOR ANY OF THE FOLLOWING, EVEN IF INFORMED OF THEIR POSSIBILITY: End of change

Start of change
  1. LOSS OF, OR DAMAGE TO, DATA;
  2. DIRECT, SPECIAL, INCIDENTAL, OR INDIRECT DAMAGES, OR FOR ANY ECONOMIC CONSEQUENTIAL DAMAGES; OR
  3. LOST PROFITS, BUSINESS, REVENUE, GOODWILL, OR ANTICIPATED SAVINGS.
End of change

Start of changeSOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF DIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, SO SOME OR ALL OF THE ABOVE LIMITATIONS OR EXCLUSIONS MAY NOT APPLY TO YOU.End of change

Related concepts
Plan setup for journals
iSeries Navigator versus the character-based interface for journaling objects
Start and end journaling and change journaling attributes
Related tasks
Methods to estimate the size of a journal receiver
Prepare to use remote journals
Related reference
Create Journal Receiver (CRTJRNRCV) command
Create Journal (CRTJRN) command

Information you need to set up journaling

Setting up journaling consists of creating a journal and a journal receiver, then starting journaling. When you create a journal receiver you have the following information:

Information to create the journal receiver

  • The name of the journal receiver
  • The disk pool assignment for journal receiver
  • The storage threshold for the journal receiver
  • Who has authority to the journal receiver

Information to create the journal

  • The name of the journal.
  • The library assignment of the journal.
  • The journal receiver name to associate with the journal.
  • Which disk pool to assign storage space for the journal (only if you are using the ASP parameter in the CRTJRN command).
  • The journal message queue.
  • Whether or not to use manual or system journal-receiver management.
  • Whether or not to have automatic deletion of the journal receiver.
  • The receiver size options for the journal.
  • Start of changeThe journal object limit for the journal.End of change
  • Start of changeWho has authority to the journal.End of change
  • Whether or not to minimize entry-specific data (character-based interface only).
  • Whether or not to use journal caching (character-based interface only).
  • Whether or not to delay the next attempt to automatically change the journal receiver (character-based interface only).
  • Whether or not to delay the next attempt to automatically delete the journal receiver (character-based interface only).
  • Whether or not to include fixed-length data in the journal entries (character-based interface only).

Set up journaling with the character-based interface

  1. Create the journal receiver using the Create Journal Receiver (CRTJRNRCV) command.
  2. Create the journal using the Create Journal (CRTJRN) command.
  3. Start journaling for each object that you plan to journal.

Set up journaling with iSeries Navigator

  1. Expand Databases.
  2. Expand your system's local database.
  3. Expand Schemas.
  4. Right click the schema in which you want to create the journal.
  5. Select New > Journals.
  6. Start journaling for each object that you plan to journal.