Restore user’s to WRKDIRE

0 pts.
Tags:
Backup & recovery
WRKDIRE
Hello My name is Aderito Lopes and I'm from Portugal. When I install a new I5 and pass the information to my customer, I have a problem. I can't restore the user's in the directory (WRKDIRE). I do, RSTUSRPRF + RSTCFG + DATA the customer + QDOC + FOLDER'S CA + RSTAUT. When I do WRKDIRE I don't see the users. What I do. I restore the (QAOK* files) from qurssys. Is possible to do this process automatically when I restored the user profiles? Thank You Best Regards Aderito Lopes
ASKED: November 24, 2004  4:07 PM
UPDATED: March 20, 2014  5:06 PM

Answer Wiki

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

Hi Aderito,
It has been a long time since I did this but I recall that directory entries (WRKDIRE) do not restore when you use RSTUSRPRF. Certainly, I believe they don’t when you restore to a new box.
A couple of years ago I had to “migrate” users from one AS/400(iSeries) to another and the method I used for directory entries was to write a small CL program to create them using an outfile from DSPDIRE on the original computer.
Use DSPDIRE to generate an outfile then in a CL program loop through the outfile using RCVF and for each use ADDDIRE to create the entry on the new computer. Override any fields which you may wish to change e.g. the system name.
Hope this helps.

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
  • ITSpec1
    Hi Aderito, It looks to me you are restoring from an old machine to a new machine. Am I right? I suggest you upgrade the old machine to V5R3 first, install current PTF, then do a save of the entire system. Use this to scratch install the i5. If your old machine does not support v5r3, I suggest you use another machine that does support v5r3 and your current OS. Use that machine as a staging area where you can restore your old system there and upgrade to v5r3 accordingly. These methods have proven to prevent problems that you are encountering now. I hope this helps.
    0 pointsBadges:
    report
  • ITSpec1
    Hi Aderito, In addition to my previous reply, if however you are not doing an upgrade but just performing a regular restore to the i5 system, I suggest you delete the following files in QUSRSYS library... QAOK*, QAOF* and QAOZ*. After deleting these objects from QUSRSYS librar, restore these objects from your recent backup of QUSRSYS. Let me just remind you that you should do this in a restricted (NO USERS) state.
    0 pointsBadges:
    report
  • Superfreak
    No it is not possible to get that information back when you restore profiles. I hate that..
    0 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