Link to home
Create AccountLog in
Avatar of mkramer777
mkramer777Flag for United States of America

asked on

iseries restore question

I have an iseries 520 AS400 and I did a backup of the entire system in 2008.  I kept this tape just in case I would need it.  I do this for every year.  Well, I need a library off of the tape called APPVEN.  I think it is a library, it might be a file.  What is the easiest way to search on this tape and copy somewhere on the system so I can run some queries?
I have never copied something from a tape to a folder or file on the system.  I have done a restore from tape but not a copy.
Avatar of Gary Patterson, CISSP
Gary Patterson, CISSP
Flag of United States of America image

DSPTAP .. DATA(*SAVRST) OUTPUT(*PRINT) or OUTPUT(*OUTFILE)

When you restore, use RSTOBJ (file) or RSTLIB (entire library and its contents).  You can avoind overwriting any current objects of the same name by specifying an alternate restore location on the RSTLIB() parameter.

- Gary Patterson
Avatar of mkramer777

ASKER

OK.  Here are some more questions.  I found out that the file on the tape is located in a library called cmsfil and within that library there is a file called appven.  So what would the line of code be if I wanted to copy appven from library cmsfil on the tape I have to library cmsfil and file name testappven?
ASKER CERTIFIED SOLUTION
Avatar of Gary Patterson, CISSP
Gary Patterson, CISSP
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer