Keeping records of journaled objects
You must always have a current list of objects that you are journaling and their assigned journals. Print a new list whenever you add or remove objects from the journal. To print a list, follow these steps:
- Type WRKJRN.
- Specify *ALL for both the Journal and Library fields.
- Press Enter twice.
- Write down the names of all the journals or use the PRINT key for each panel of the display.
- For each journal in the list that is used to journal objects, type WRKJRNA JRN(library-name/ journal-name) OUTPUT(*PRINT). Additionally, the WRKJRNA command can send the journaled objects to an outfile. The print and outfile option on the WRKJRNA command also allows subsetting the output of the journaled object types.
Keep the lists with your most recent set of backup media that you used to save the entire system. You can also use the Retrieve Journal Information (QjoRetrieveJournalInformation) API to retrieve information about your journaling environment.
You might need this list for the following reasons:
- You need to recover your journaling environment; for example, if the journal is damaged or deleted. Although you can recover your journaling environment by restoring the objects, in many cases starting journaling for the objects is a quicker and safer method.
- You create new access paths. The system cannot protect access paths, either explicitly or by using SMAPP, if the underlying physical files are not journaled to the same journal.
- You want to move objects to another disk pool. Journaled objects must be in the same disk pool as the journal, unless the objects are in the system disk pool and the journal is in a nonlibrary basic disk pool.
Choose the method for saving journal receivers that works best for your organization. Then be sure to keep track of what you do. Label your save media so that you know which journal receiver media volumes are required to apply journal changes to the last complete saved copy of the journaled objects.
Think through possible recovery scenarios. For example, assume this is your save procedure:
- You save all user libraries and directories on Sunday evening.
- You save changed objects every evening.
- You save journal receivers every 2 hours during normal business hours.
Given the preceding list, what are your recovery steps if you lose a journaled object at 3 p.m. on Thursday?
Parent topic:
Managing journalsRelated concepts
Planning a backup and recovery strategyRelated reference
Retrieve Journal Information (QjoRetrieveJournalInformation) API