It is important to restore objects in a certain order. OS/400 will take care of this if dependent objects are in the same library, but if you have for example, physical files in one library and logical files in another, you are responsible for restoring the physical files before you restore the logicals.
When you do a SAVLIB *NONSYS, libraries are saved in alphabetical order and are restored in the same order when you do a RSTLIB *NONSYS. This may be the cause of the problem you are having.
If you have related objects in different libraries, you need to restore them in this order:
1. Journals before journaled objects
2. Journals before journal receivers.
3. Physical files before logical files.
You may also want to check to see if you save access paths, too. <SAVLIB xxx ACCPTH(*YES)>
Note: the default is *NO.
================================== MORE INFORMATION ON THIS TOPIC ==================================
Ask the Experts yourself: Our backup & recovery gurus are waiting to answer your questions.
Search400.com's targeted search engine: Get relevant information on backup & recovery.
Check out this Search400.com Featured Topic on backup & recovery.
This was first published in March 2004