CL Command Reference - SAVSYSINF

CL Command List > SAVSYSINF Reference

Description:

The Save System Information (SAVSYSINF) command saves a subset of system data and objects saved by the Save System (SAVSYS) command.

SAVSYSINF is not to be considered a replacement for the SAVSYS command and is not to be used for system upgrades or migrations.

Objects saved from QSYS include:
. *JOBD
. *JOBQ
. *EDTD
. *JRN
. *SBSD
. *CLS
. *MSGQ
. *TBL
. *IGCTBL
. *DTAARA
. *CMD objects changed since the last SAVSYS
. *MSGF objects changed since the last SAVSYS

Additional items saved include:
. System reply list
. Service attributes
. Environment variables
. Certain system values
. Network attributes
. PTFs applied since the last SAVSYS

Some items NOT saved as part of SAVSYSINF command:
. Licensed Internal Code
. QSYS library
. Security objects (use the SAVSECDTA command)
. Configuration objects (use the SAVCFG command)
. User profiles (use the SAVSECDTA command)
. System values related to date/time
. System values which cannot be changed. For system values which can be changed, refer to the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter
. QPWDLVL (Password level) system value

Note: The SAVSYSINF command issues several save commands for saving objects. Parameters may or may not be used for all save commands.



Examples:

Example 1: Tapes Cleared Automatically

SAVSYSINF DEV(TAP01) CLEAR(*ALL)

This command saves the system information on the tape put on the TAP01 tape drive. Each uncleared tape is automatically cleared when it is encountered, and the save operation continues without operator intervention.



Example 2: Save File Cleared Automatically and Output Generated to a File

SAVSYSINF DEV(*SAVF) SAVF(QGPL/SAVF) CLEAR(*ALL)
OUTPUT(*OUTFILE) OUTFILE(QGPL/OUTPUT)

This command saves the system information to the save file named SAVF in library QGPL. The save file will be cleared automatically. Information about what was saved will be written to the first member of the file named OUTPUT in library QGPL; the file and member will be created if they do not exist.