• No results found

Use the Save system information (SAVSYSINF) command to perform a partial save of the data saved by the Save system (SAVSYS) command.

Note:

1. The SAVSYSINF command increases the time and complexity it takes to recover your system.

2. Do not use the SAVSYSINF command as a replacement for the SAVSYS command, and do not use it for a system upgrade or migration. You must have performed a successful SAVSYS before using this command.

3. The SAVSYSINF command is only intended for customers who cannot bring their system to restricted state and take the necessary downtime it takes to perform a SAVSYS command. A SAVSYSINF should be considered a "partial" of a complete SAVSYS. During a complete system recovery the SAVSYSINF save will also need to be recovered along with the complete SAVSYS.

4. If you are using the SAVSYSINF command in your backup strategy, the PTF save files must remain on the system until the next SAVSYS command is run. For the Restore System Information (RSTSYSINF) command to recover the system to the current state, SAVSYS requires the PTF save files for all operating system PTFs that have been applied after the last SAVSYS command was run. Do not run the Delete Program Temporary Fix (DLTPTF) command unless you run it just before or after the SAVSYS command. For more information see Clean up fixes.

*SAVSYS or *ALLOBJ special authority is required to use the SAVSYSINF command. You cannot restore a SAVSYSINF to another existing system. You can use the SAVSYSINF for system recovery when you are recovering a system using the SAVSYS and SAVSYSINF media. The data saved by the SAVSYSINF is cumulative from the last SAVSYS.

When you save your system information by using the SAVSYSINF command, the system saves the following object types from QSYS:

Object types that are saved

*JOBD *JOBQ *EDTD

*JRN *MSGF1 *SBSD

*CLS *MSGQ *TBL

*IGCTBL *DTAARA *CMD1

1objects changed since the last SAVSYS

Additional items that are saved include the following:

Additional items that are saved

System reply list Service attributes Environment variables

Most system values Network attributes PTFs applied since the last SAVSYS operation1for 5770-SS12and 5770-999

Additional items that are saved

1If you load PTFs, you must copy them into *SERVICE. This enables SAVSYSINF to find the save files of the PTFs.

The Copy PTFs (CPYPTF) service attribute specifies whether to copy PTF save files into *SERVICE when PTFs are loaded from a tape or optical device. Use the CHGSRVA CPYPTF(*YES) command to change the service attribute on your system to copy PTF save files when loading PTFs from media.

2The SAVSYSINF command saves PTFs for all licensed programs, including 5770-SS1 and 5770-999, which have been temporarily or permanently applied since the last SAVSYS operation. In addition, for loaded PTFs, the IPL action is checked to determine if the PTF should be included. Loaded PTFs, scheduled to be applied at the next IPL, (IPL action 1 or 3) are saved. PTFs scheduled to be removed at the next IPL, (IPL action 2 or 4) are not saved.

Items that are not saved as part of SAVSYSINF command include the following:

Items that are not saved

Licensed Internal Code QSYS library System values that are not saved

Configuration objects (use the SAVCFG command)

Security data (use the SAVSECDTA command)

The SAVSYSINF command might be incorporated into a save strategy once a base SAVSYS in restricted state is successful. It is recommended that a save of the entire system including a SAVSYS be done in restricted state. This can be accomplished by performing a Go Save Option 21, a combination of an Option 22 and 23, or by using the equivalent functions within BRMS.

Once you have a base SAVSYS, you might perform some or all of these save commands to capture changed or updated information:

SAVLIB LIB(*IBM)

SAV OBJ((’/QIBM/ProdData’)(’/QOpenSys/QIBM/ProdData’)) UPDHST(*YES) SAVSYSINF

These are other save commands that should be used on a daily basis to save user data:

SAVESECDTA SAVCFG

SAVLIB LIB(*ALLUSR) SAVDLO DLO(*ALL) FLR(*ANY)

SAV OBJ((’/*’)(’/QSYS.LIB’*OMIT)(’/QDLS’*OMIT)) UPDHST(*YES) SAVSYSINF

Example SAVSYSINF:

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 name OUTPUT in library QGPL. The file and member will be created if they do not exist.

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

“Save-while-active function” on page 106

The save-while-active function allows you to use your system during all or part of the save process, that is, save your system while it is active.

Related reference:

“Commands for saving parts of your system” on page 44

This table groups the data that you need to save on your system. Three sections divide the information.

Related information:

Restoring system information

System values that are not saved:

Most system values are saved when you use the Save System Information (SAVSYSINF) command, or restored with the Restore System Information (RSTSYSINF) command. However, certain system values are not saved as part of the SAVSYSINF command.

Table 16. System values that are not saved as part of SAVSYSINF

System values that are not saved as part of SAVSYSINF

QABNORMSW Previous end of system indicator. This system value

cannot be changed.

QADLSPLA System value no longer used by the operating system.

QAUTOSPRPT System value no longer used by the operating system.

QBOOKPATH System value no longer used by the operating system.

QCENTURY Date and time related system values are not saved or

restored.

QCONSOLE Specifies the name of the display device that is the

console. You cannot change this system value. The system changes this system value when the console is varied on.

QDATE Date and time related system values are not saved or

restored.

QDATETIME Date and time related system values are not saved or

restored.

QDAY Date and time related system values are not saved or

restored.

QDAYOFWEEK Date and time related system values are not saved or

restored.

QHOUR Date and time related system values are not saved or

restored.

QIGC Double-byte character set (DBCS) version installed

indicator. Specifies whether the DBCS version of the system is installed. You cannot change QIGC; it is set by the system.

QIPLSTS Initial program load (IPL) status. Indicates which form of

IPL has occurred. You can refer to this value in your recovery programs, but you cannot change it.

QJOBMSGQTL System value no longer used by the operating system.

QJOBMSGQSZ System value no longer used by the operating system.

QMINUTE Date and time related system values are not saved or

restored.

QMODEL The number or letters used to identify the model of the

system. You cannot change QMODEL.

QMONTH Date and time related system values are not saved or

restored.

QPRCFEAT This is the processor feature code level of the system.

You cannot change QPRCFEAT.

QPWDLVL To avoid possible security-related problems, QPWDLVL

is not saved or restored. See Restoring user profiles for considerations when moving from one password level to another.

Table 16. System values that are not saved as part of SAVSYSINF (continued) System values that are not saved as part of SAVSYSINF

QSECOND Date and time related system values are not saved or

restored.

QSRLNBR This value cannot be changed. It is retrieved from the

data fields by the system when installing the IBM i licensed program.

QSTRPRTWTR Start print writers at IPL. Specifies whether print writers

were started. This value is either set by the system at IPL time or by the user on the IPL Options display. This value can only be displayed or retrieved.

QSVRAUTITV System value no longer used by the operating system.

QTIME Date and time related system values are not saved or

restored

QUTCOFFSET Cannot change this system value, it is set during a

change to system value QTIMZON.

Password related system values. All of the password-related system values might not be restored. Refer to Chapter 7 of the Security Reference manual for more information

QYEAR Date and time related system values are not saved or

restored.