Command reference / save
RSTUSRPRF
Restore User Profiles
Restores the basic parts of user profiles saved by SAVSYS or SAVSECDTA, and builds the authority reference table each restored profile needs for RSTAUT. Private authorities to objects are not granted by this command: run RSTAUT after the profiles and objects are restored. When all profiles are restored, authorization lists and authority holders are restored too.
Allowed environments: *ALL.
Positional parameters: 3.
Restrictions
- Requires *SAVSYS special authority.
- ALWOBJDIF values other than *NONE require *ALLOBJ special authority.
- SECDTA(*PWDGRP) requires *ALLOBJ and *SECADM special authorities.
Parameters
DEV
Device
Suggested / special values:
*SAVF
USRPRF
User profile
Which profiles are restored.
Suggested / special values:
*ALL, *NEW, *NONE
*ALL- All saved profiles; passwords and group connections are restored as well.
*NEW- Only profiles that are not on the system.
VOL
Volume identifier
Suggested / special values:
*MOUNTED
SEQNBR
Sequence number
Suggested / special values:
*SEARCH
ENDOPT
End of media option
Allowed values:
*REWIND, *LEAVE, *UNLOAD
SAVF
Save file
Qualified parts (object, then library; write LIBRARY/OBJECT)
Save file
Save file
Library
Library
Suggested / special values:
*LIBL, *CURLIB
MAIL
Mail
Allowed values:
*NO, *YES
ALWOBJDIF
Allow object differences
Allowed values:
*NONE, *ALL, *AUTL, *OWNER, *PGP
OMITUSRPRF
User profiles to omit
Profiles that are not restored.
Suggested / special values:
*NONE
SECDTA
Security data
Which security data is restored.
Allowed values:
*USRPRF, *PVTAUT, *PWDGRP, *DCM
*USRPRF- Profiles and their private authority tables.
*PVTAUT- Only the private authority tables, for RSTAUT.
*PWDGRP- Profiles, private authority tables, passwords and group connections.
OMITSECDTA
Omit security data
Allowed values:
*NONE, *AUTL, *DCM, *FCNUSG
OUTPUT
Output
Allowed values:
*NONE, *OUTFILE
OPTFILE
Optical file
Suggested / special values:
*
SAVASPDEV
Saved from ASP device
Suggested / special values:
*ANY, *, *SYSBAS, *CURASPGRP
OUTFILE
File to receive output
Qualified parts (object, then library; write LIBRARY/OBJECT)
File to receive output
File to receive output
Library
Library
Suggested / special values:
*LIBL, *CURLIB
OUTMBR
Output member options
Elements in order
Member to receive output
Member to receive output
Suggested / special values:
*FIRST
Replace or add records
Replace or add records
Allowed values:
*REPLACE, *ADD
Generated from os/cl/catalog/RSTUSRPRF.json and os/cl/help/RSTUSRPRF.json.