Minimized entry-specific data for journal entries
On the Create Journal (CRTJRN) and Change Journal (CHGJRN) commands, you can specify to allow for the deposit of minimized journal entries. This will decrease the size of your journal entries.
When you specify the Minimized Entry Specific Data (MINENTDTA) parameter for an object type, the entry-specific data for the entries of those object types can be minimized. You can minimize journal entries for database physical files and data areas.
The system only minimizes entries if the minimized entry is smaller in size than a complete journal entry deposit. Therefore, even if you specify this option, not all entries that are deposited will be minimized. The Display Journal (DSPJRN) command, Receiver Journal Entry (RCVJRNE) command, Retrieve Journal Entry (RTVJRNE) command, and QjoRetrieveJournalEntries API return data that indicates whether the entry is actually minimized.
The *FILE, *DTAARA, and *FLDBDY values are allowed on the MINENTDTA parameter for the CRTJRN and CHGJRN commands and indicate the following:
- *FILE
- Journaled files may have journal entries deposited with minimized entry specific data. The minimizing will not occur on field boundaries, and the entry specific data may not be viewable and may not be used for auditing purposes. This value cannot be specified if *FLDBDY is specified.
- *FLDBDY
- Journaled files may have journal entries deposited with minimized entry specific data. The minimizing will occur on field boundaries, and the entry specific data will be viewable and may be used for auditing purposes.
- The DSPJRN command always displays the entries which have been minimized on field boundaries with formatting.
- The *FILE value is not available in releases prior to V5R4.
- *DTAARA
- Journaled data areas may have journal entries deposited with minimized entry specific data.
You cannot save or restore a journal receiver with minimized journal entries to any release prior to V5R1M0, nor can they be replicated to any remote journal on a system at a release prior to V5R1M0.
An optional parameter, Format minimized data (FMTMINDTA), is available on the Retrieve Journal Entries (RTVJRNE) command, the Receive Journal Entries (RCVJRNE) command, and the Retrieve Journal Entries (QjoRetrieveJournalEntries) API. This parameter allows you to specify whether entry specific data which has been minimized on field boundaries will be returned in a readable format, which allows you to determine what changes have been made. The possible values for the FMTMINDTA parameter are *NO or *YES, with the default being *NO. By default, the methods used by these commands provide the data in their raw format. The RTVJRNE command will indicate whether or not *FLDBDY has been specified for Minimized entry specific data with a value of ‘2’ in the already existing “MINIMIZED ENTRY DATA” field for the appropriate entry formats. *FILE and *DTAARA will appear as '1' in their fields.
Using the Display Journal (DSPJRN) command, entries are viewable to the screen, an outfile, or printed output. The DSPJRN command will also indicate whether or not the *FLDBDY value has been specified for Minimized entry specific data on the “Display Journal Entry” panel and will indicate a value of ‘2’ in the “Minimized entry specific data” field of the *OUTFILE and in the “Min” field of the printed output. *FILE and *DTAARA will appear as '1' in their fields.
- Example: MINENTDTA (*FLDBDY)
The following SQL script provides an example of the of the *FLDBDY value used with the Minimized entry specific data (MINENTDTA) parameter for the CRTJRN and CHGJRN commands.
Parent topic:
Planning setup for journalsRelated concepts
iSeries Navigator versus the character-based interface for journaling objects Considerations for entries which contain minimized entry-specific dataRelated tasks
Methods to estimate the size of a journal receiverRelated reference
Create Journal (CRTJRN) command Change Journal (CHGJRN) commandRelated information
Journal code finder