Is there a method to restore a single program source program from a backup rather than restore the entire library?
Yes .... Use the FILEMBR parameter on the RSTOBJ command:
For example, to restore only member "AAA" from a previous save of source file QPGMRSRC:
RSTOBJ OBJ(QPGMSRC) SAVLIB(SYSADMSRC) DEV(*SAVF) OBJTYPE(*FILE) SAVF(KENNETH/TEMPSAV) FILEMBR((*ALL (AAA))) MBROPT(*ALL) ALWOBJDIF(*ALL) RSTLIB(KENNETH)
For additional information, use the F1 key to display the HELP panel for this parameter. You will see that you can specify *ALL or a specific file name for the FILE parameter (as long as it is also specified on the OBJ parameter) and for MEMBER you can specify, *ALL, *NONE, a generic member name or a specific member name.
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.
Dig Deeper on Data backup, storage and retrieval on iSeries
Related Q&A from Ken Graap
Find out if log files can be omitted during a save without causing problems in a full restore. Continue Reading
The BRMS Network feature allows a BRMS system to connect to other BRMS systems via a network, and enables a user to consolidate media such as backup ... Continue Reading
The only option to correct damage preventing file journaling is to use the RCLSTG command. Continue Reading