View Full Version : Back to Previous Tape Volume
Rajesh
10-11-2004, 10:21 AM
I have a CL program which reads from a Physical file, the list of objects to be restored from back up tape. The saved library spans more than one tape volume and more than one tape is loaded to the tape loader. If an object exist in second volume then the system automatically loads the third tape to tape drive and restore the object and I have no problem. However, if the next object exist in the first tape volume then tape loader does not load the first volume to tape drive instead it throws an error CPF3716. How do I make the system automatically load the previous tape volume.
dacust
10-11-2004, 10:21 AM
None of the tape decks I have used will do this. However, depending on the type of save, the objects will be in alphabetical order. That is how we do it at our shop. -or- You might do a DSPTAP to an *OUTFILE and use that file to determine which objects are on that tape so you'll know what order to restore them in. Note: Depending on type of save you'll do a different type of DSPTAP, but for all normal types DATA(*SAVRST) will be what you want to specify on the DSPTAP. -dan
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.