Changing journaling attributes of journaled objects without ending journaling

This topic provides information about how to change the journaling attributes of a journaled object without ending journaling.

Use the Change Journal Object (CHGJRNOBJ) command to change journaling attributes of journaled objects without ending and restarting journaling. You can use the CHGJRNOBJ command to do the following:

  • Change whether you are journaling both before and after images or just after images.
  • Change whether you are omitting open, close, and force journal entries from the journal receiver.
  • Change whether you are journaling objects that are created in a directory.
  • Remove the partial transaction state from a database file.
  • Change what objects in libraries automatically start journaling.
  • Change whether journal entries for an object are filtered by remote journal filtering by object.

Except for removing the partial transaction state from a database file, the objects whose attributes you are changing must currently be journaled. Also, you can only change one attribute at a time.

Before and after images

Use the Images (IMAGES) parameter to change if you are journaling only after images or both before and after images. The object whose journaling attributes you are changing must already be journaled. You can change this journaling attribute for the following object types:

  • Database physical files
  • Data areas

Omitting journal entries

Use the Omit Journal Entries (OMTJRNE) parameter to change whether to omit open, close, and force journal entries from the journal receiver. The object whose journaling attributes you are changing must already be journaled. You can change this journaling attribute for the following object types:

  • Database physical files
  • Integrated file system stream files
  • Integrated file system directories

Journal new objects in a directory

Use the New Objects Inherit Journaling (INHERIT) parameter to change whether journaling starts automatically for objects that are created in a journaled integrated file system directory after the attribute is changed.

Partial transaction state

Attention: Use of this parameter can result in loss of data. Use this parameter only as a last resort, if the appropriate journal receivers are unavailable to do an apply or remove journaled changes operation.

Use the Partial Transactions (PTLTNS) parameter to allow an object that contains partial transactions to be used. You use this parameter only for one of the following reasons:

  • You are unable to apply or remove the journaled changes to complete or remove the transactions because the journal receivers are unavailable.
  • The object was involved in a rollback operation that was ended early and there is no saved version of the object to use.

Only use this parameter as a last resort because the partial transactions remain within the object.

Inherit rules

Use the inherit rules (INHRULES) parameter to change which objects automatically start journaling when created, moved, or restored into a journaled library after the attribute is changed.

Remote journal filter

Use the remote journal filter (RMTJRNFTR) parameter to change whether journal entries deposited for an object are eligible for remote journal filtering by object.

Consideration for distributed files

When you successfully change the journal attributes for a distributed file, the system distributes the request to change a journal attribute to the other servers in the group. All servers are attempted even if there is a failure at any one server. When the journaling attribute has been changed on a server in the node group, it remains that way even if there is a failure at any of the other servers.