CL Command Reference - SAVSECDTA
CL Command List > SAVSECDTA Reference
Description:
The Save Security Data (SAVSECDTA) command saves all security information without requiring a system in a restricted state. The SAVSECDTA command saves the same security information that is saved when a Save System (SAVSYS) command is run including the following:
. User Profiles
. Authorization Lists
. Authority Holders
Information saved with the SAVSYS or SAVSECDTA command can be restored using the Restore User Profiles (RSTUSRPRF) and Restore Authority (RSTAUT) commands.
Restrictions:
. You must have save system (*SAVSYS) special authority to run this command.
. Changes made to user profiles while the SAVSECDTA command is being run may not be reflected on the media, depending on when the changes occurred in relation to the save operation.
. Concurrent running of other SAVSECDTA commands is not allowed.
. If *YES is specified for the Object pre-check (PRECHK) parameter and a security object cannot be saved, the save operation ends.
Examples:
Example 1: Automatically Clearing Uncleared Tapes
SAVSECDTA DEV(TAP01) CLEAR(*ALL)
This command saves the security information, including user profiles, authorization lists, authority holders. They are saved on the TAP01 tape drive. CLEAR(*ALL) automatically clears all uncleared tapes when they are encountered.
Example 2: Sending Message When Storage Capacity Exceeded
SAVSECDTA DEV(TAP01) VOL(ABC)
This command saves the security information on the TAP01 tape drive, starting on the tape volume labeled ABC. If the save operation exceeds the storage capacity of one tape, a message requesting that another volume be put on the TAP01 tape drive is shown to the operator.