Restoring libraries
Restoring a single library or a group of libraries is a common way to recover user information.
Use the Restore Library (RSTLIB) command to restore a single saved library or a group of libraries. The RSTLIB command restores the entire library, including the library description and the objects in the library. This command also restores status information for programming temporary fixes (PTFs) that were in the library at the time the library was saved.
When you use the RSTLIB command, you can use the OPTION parameter to specify which objects in a library are restored:
Possible values for the OPTION parameter of the RSTLIB command: | |
---|---|
*ALL | Old objects are replaced and new objects are added to a library. *ALL is the default value. |
*OLD | Only old objects that already exist on the system are replaced in a library. |
*NEW | Only objects not found on the system are added to a library. The old objects are not replaced. |
*FREE | Only those objects that have their storage freed on the system are restored. |
Important: If you are restoring
to a different system or logical partition, specify
ALWOBJDIF(*COMPATIBLE)
when
you are restoring libraries.