Command reference / save
SAVSECDTA
Save Security Data
Saves all security information without requiring a restricted system: user profiles (with the private authorities each profile holds), authorization lists and authority holders. This is the same security information SAVSYS saves; restore it with RSTUSRPRF and then RSTAUT.
Allowed environments: *ALL.
Positional parameters: 1.
Restrictions
- Requires *SAVSYS special authority.
- Only one SAVSECDTA can run at a time.
- Changes made to user profiles while the save runs may not be on the media.
Parameters
DEV
Device
The device that receives the saved data: a tape device name, or *SAVF for a save file named on the SAVF parameter.
Suggested / special values:
*SAVF
VOL
Volume identifier
Suggested / special values:
*MOUNTED
SEQNBR
Sequence number
Suggested / special values:
*END
EXPDATE
File expiration date
Suggested / special values:
*PERM
ENDOPT
End of media option
Allowed values:
*REWIND, *LEAVE, *UNLOAD
USEOPTBLK
Use optimum block
Allowed values:
*YES, *NO
SAVF
Save file
The save file that receives the data when DEV(*SAVF) is specified. It must be empty unless CLEAR(*ALL) is specified.
Qualified parts (object, then library; write LIBRARY/OBJECT)
Save file
Save file
Library
Library
Suggested / special values:
*LIBL, *CURLIB
OPTFILE
Optical file
Suggested / special values:
*
ASPDEV
ASP device
Suggested / special values:
*ALLAVL, *, *SYSBAS, *CURASPGRP
CLEAR
Clear
Whether active data on the media, or a nonempty save file, is replaced.
Allowed values:
*NONE, *ALL, *AFTER, *REPLACE
PRECHK
Object pre-check
Allowed values:
*NO, *YES
DTACPR
Data compression
Allowed values:
*DEV, *NO, *YES, *LOW, *MEDIUM, *HIGH, *ZLIB
COMPACT
Data compaction
Allowed values:
*DEV, *NO
OUTPUT
Output
Allowed values:
*NONE, *PRINT, *OUTFILE
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/SAVSECDTA.json and os/cl/help/SAVSECDTA.json.