Restoring Files

Tags:
AS/400 backup and recovery
AS/400 DB2
Dear All,

I want to set up a new test enviornment in our development box. A sub system has already been created. The following needs to be done.

1. Restore all physical files from PRDFLIB TO DEVFLIB

2. Restore all logicals from PRDLLIB to DEVLLIB .

 The access path of the logicals(devllib) which i create must point to DEVFLIB can you please advise how this can be done.

 Thanks a lot for your assistance

ASKED: December 23, 2009  11:34 PM
UPDATED: December 29, 2009  7:06 PM

Answer Wiki

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

Restore all files to DEVFLIB. Then use MOVOBJ to move each logical from DEVFLIB to DEVLLIB. (CRTDUPOBJ could also be used, but then you’d probably want to use DLTF on the original LFs anyway.) A developer’s tool such as PDM could be used to help select and move the set of LFs.

That’s the easy way.

Alternatively, restore the physicals to DEVFLIB. Then create the logicals in DEVLLIB according to their requirements.

It’d be far easier if you had your LFs in the same library as your PFs as they should be. There are very few reasons ever to create a LF in a library other than where the underlying PF is. It is sometimes useful to have a LF isolated, but it’s hard to think of justification for any significant number of LFs.

Tom

Discuss This Question: 1  Reply

 
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
  • ASWDEVELOPER
    I believe you could also restore all the physical files to DEVFLIB, then add DEVFLIB to your library list, and finally restore the logicals to DEVLLIB ... NOTE : the production library PRODFLIB must NOT be in your library list when you restore the logicals to DEVLLIB.
    405 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