Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Restore Source Code...member level ID not same 1

Status
Not open for further replies.

bpitodd

Programmer
Dec 29, 2003
2
US
I am trying to restore source code from my backup tape (System Save) on the AS400. This is the command I am using:

RSTOBJ OBJ(QRPGLESRC)
SAVLIB(MYLIB)
DEV(TAPnnnn)
OBJTYPE(*FILE)
FILEMBR((QRPGLESRC (MYSRCFILE)))
MBROPT(*ALL)

When I use this command, I get the following error message:
Saved file or member level ID not same as file QRPGLESRC.
I've even tried taking out the MYSRCFILE and put *ALL...and that didn't work either. Same error. What am I doing wrong?
 
When restoring from the SavSys tape, you need to specify the Sequence number (SeqNbr). Do this:
Code:
DspTap Dev(Tapnnn) +
       Data(*SavRst) +
       Output(*Print)
Find library (MYLIB) on the printout, it should say what the sequence number for the library is. Specify that number in SEQNBR on the RSTOBJ cmd.

RedMage1967
IBM Certifed - RPG IV Progammer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top