Omit Journal Entry is one way to reduce the storage capacity of journal receivers. Omit journal entry has only two parameters:
- *NONE, no journal entries have been ignored. All activity of a file or other data object is recorded in a journal. If the Audit wants to find out who is accessing a file, this parameter is needed.
- *OPNCLO, open-close entries are ignored when recording to journal receivers. Receiver journal size becomes smaller.
Omit Journal Entry *NONE
For example, the SOOLDAT/TESTFILE file uses Omit Journal Entries *NONE, so if we run RUNQRY * N SOOLDAT / TESTFILE it will record the open and close file activity.
Entries with code types F-OP (file open) and F-CL (file close) are recorded by journals.
Omit Journal Entry *OPNCLO
For example, the SOOLDAT/TESTFILE file uses Omit Journal Entries *OPNCLO, so if we run RUNQRY * N SOOLDAT/TESTFILE it will not record the open and close file activity.
Open and close file activities are not recorded by journals.
Change Omit Journal Entry:
From the command line, type CHGJRNOBJ then press F4 = Prompt. Press F9 = All Parameters to show all parameters.
Press page down until you find the Attribute (ATR) parameter. Type the Attribute parameter: *OMTJRNE and in the Omit Journal Entry parameter: *NONE or *OPNCLOSYN (as needed).