Change journaling attributes of journaled objects without ending journaling

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:

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:

Omit 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:

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:

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

For instructions for recovering objects in a partial transaction state, see Example: Recover objects with partial transactions.

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.

Related tasks
Example: Recover objects with partial transactions
Related reference
Change Journaled Object (CHGJRNOBJ) command