Restoring Source Files on the iSeries

0 pts.
Tags:
Backup & recovery
i5
Installation
iSeries
OS/400
RPG
Server consolidation
tips and tricks
Tools
We are moving to a new i5/iSeries machine. We will be doing a full backup, then a restore, then a SAVCHGOBJ. However, in the past, when we've done a restore of a source file, the existing members get renamed (SRCMBR00001) and the members from the restore get put in correctly. Does anybody know the exact parameters on the RSTLIB/RSTOBJ command to prevent this from happening? Thanks in advance!
ASKED: October 27, 2004  8:30 AM
UPDATED: March 9, 2005  9:37 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

1. restore your source file to another library (Qtemp)
2. CPYF FROMFILE(QTEMP/FILE) TOFILE(YOURLIB/FILE)
FROMMBR(*ALL) TOMBR(*FROMMBR) MBROPT(*REPLACE)

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Nevster
    If both the old and new iseries are networked you can create a DDM file on the new iseries that points at the source file on the old iseries and do a cpyf from that ddmf to your new source file.
    0 pointsBadges:
    report
  • Ddomic
    Did you received message CPI320B: Member level identifiers do not match in your joblog? If so check your source file (DSPFD)on both machines. It may be that Coded character set identifier (CCSID) is different. Regards.
    0 pointsBadges:
    report
  • MichelleDavidson
    Avi Hecht recently wrote the Search400.com editors with this suggestion: Regarding restore -- command RSTOBJ -- restoring members from saved file. 1. First of all, make sure that the file does not exist on disk 2. Rstore the source file with parameter member option *NONE 3. Make sure the definition of the file exist on disk 4. Change the file to max number of members to *NOMAD and there are no members in the file 5. Restore the file again with member option ADD -- Michelle Davidson, editor, Search400.com
    330 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following