How to restore the ROSLIBS when you have both full and partial backups?
This solution describes how to restore the ROSLIBS when you have both a full and partial also known as a "delta" backup.
Restoring a ROSCOE backup system consisting of full and partial backup files is a multi step process.
First, use the most current full backup file and do a full restore using the RESTORE option of LIBUTIL. Continue, by following the full restore with a series of partial restores using all of the partial backup files created since the last full backup. (The partial restores must be run in chronological order using LIBUTIL with the RESTORE and NOCLEAR options.) If the NOCLEAR parameter is not used, you will overwrite, and consequently destroy the members that were previously restored.
e.g.
Step FULLREST will restore the full backup which is in FULL.BACKUP to your ROSLIBS. //FULLREST EXEC PGM=LIBUTIL,PARM='RESTORE' //STEPLIB DD DSN=CAI.RO60LIB,DISP=SHR //ROSLIB00 DD DSN=YOUR.ROSLIB00,DISP=OLD //ROSLIB01 DD DSN=YOUR.ROSLIB01,DISP=OLD //ROSLIB02 DD DSN=YOUR.ROSLIB02,DISP=OLD //SYSPRINT DD SYSOUT=* //BACKUP DD DSN=FULL.BACKUP,DISP=SHR /*
STEP PARTREST will restore the partial backup which is in YOUR.DELTAx.BACKUP to the ROSLIBS. Note, that the
Delta backups have to be restored in the sequence they were taken. The parameter "NOCLEAR" must be included
in the parameter list. //PARTREST EXEC PGM=LIBUTIL,PARM='RESTORE,NOCLEAR' //STEPLIB DD DSN=CAI.RO60LIB,DISP=SHR //ROSLIB00 DD DSN=YOUR.ROSLIB00,DISP=OLD //ROSLIB01 DD DSN=YOUR.ROSLIB01,DISP=OLD //ROSLIB02 DD DSN=YOUR.ROSLIB02,DISP=OLD //SYSPRINT DD SYSOUT=* //BACKUP DD DSN=YOUR.DELTAx.BACKUP,DISP=SHR /*