Midrange News for the IBM i Community


Posted by: John Tremper
RSTUSRPRF
has no ratings.
Published: 28 Feb 2013
Revised: 07 Mar 2013 - 2386 days ago
Last viewed on: 16 Sep 2019 (4901 views) 

Using IBM i? Need to create Excel, CSV, HTML, JSON, PDF, SPOOL reports? Learn more about the fastest and least expensive tool for the job: SQL iQuery.

RSTUSRPRF Published by: John Tremper on 28 Feb 2013 view comments(2)

Return to midrangenews.com home page.
Sort Ascend | Descend

COMMENTS

(Sign in to Post a Comment)
Posted by: bobcozzi
Site Admin ****
Chicagoland
Comment on: RSTUSRPRF
Posted: 6 years 6 months 20 days 8 hours 3 minutes ago
Edited: Thu, 07 Mar, 2013 at 06:59:23 (2386 days ago)

Yep. I do it. Using a save file into which the users were saved.

 

RSTUSRPRF  DEV(*SAVF) USRPRF(*NEW)            
          SAVF(&SAVLIB/&SAVSECDATA) ALWOBJDIF(*ALL)

 Then you need to restore the user profile authority.

 RSTAUT  USRPRF(*ALL)

 

Posted by: DaleB
Premium member *
Reading, PA
Comment on: RSTUSRPRF
Posted: 6 years 6 months 19 days 15 hours 47 minutes ago

RSTUSRPRF does not have to be run in a restricted state unless you're doing USRPRF(*ALL) or SECDTA(*DCM). RSTAUT does not have to be run in a restricted state in any case.

If you're doing other things, you still may need to restrict the system. If you're only restoring user profiles, it may not be necessary.