Journaling libraries

Allows you to start journaling changes to a library and automatically journal any objects created, moved, or restored into a library.

Start of changeUse the Start Journal Library (STRJRNLIB) command to enable the library journaling functions. STRJRNLIB starts journaling changes (made to a library or list of libraries) to a specific journal, and optionally starts journaling changes to objects within the library or list of libraries. To start journaling for a library using IBM® Navigator for i follow these steps.End of change

Start of change
  1. With Navigator for i connect to the system that contains the library that you want to journal.
  2. Expand File Systems
  3. Select Integrated File System
  4. Select QSYS.LIB
  5. Select the library you want to journal and the Journaling action.
End of change

After journaling begins for the object, save the journaled object to preserve its journal attribute information. Also, the object must be saved because, for example, journaled changes cannot be applied to a version of the object that was saved before journaling was in effect.

Start of changeObjects created, moved, and restored into the library that are eligible for journaling can automatically start journaling to the same journal as the library. Which objects inherit the journal state of the library and what journaling attributes they start journaling with are determined by the inherit journaling attributes of the library. The inherit rules allow for objects to inherit the journal state of the library based on the name of the object being added to the library. Objects with names that begin with specified characters, can be selected to start journaling or omitted from starting journaling. With this capability, work files created in production libraries can be prevented from starting journaling while production files can still have journaling started.End of change

See Start Journal Library (STRJRNLIB) for details on enabling library journaling.