Determining when an object was last saved
If a library contains an object, you can use the Display Object Description (DSPOBJD) command to find out when the system saved the object.
If the QSYS library contains an object, you can use the DSPOBJD command to display the appropriate data area that is shown in Data areas that contain save history.
The following commands do not update the save history information for the individual objects that the system saves:
- Save System (SAVSYS)
- Save Security (SAVSECDTA)
- Save Configuration (SAVCFG)
- Save Save File Data (SAVSAVFDTA)
- Save System Information (SAVSYSINF)
For some save operations, the system updates history information in a data area. In some cases, the system updates the data area instead of updating the individual objects. In other cases, the system updates the data area in addition to the individual objects.
When you install the operating system, the system will update the data areas. However, the data areas will appear as if you used RSTOBJ to restore them. The system does not support the QSAVDLOALL data area.
The QSRSAV21 data area in library QUSRSYS contains information about the last five most recent GO SAVE Option 21 (Save Entire System) operations. The information includes the starting date and time of each major step in the save operation, the step identifier, and the device used. The ending date and time of the save operation is identified with asterisks. You can use this information to help you plan how much time to estimate for your next GO SAVE Option 21 operation.
The following table shows these commands and the associated data areas:
Command | Associated Data Area | Individual Objects Updated? |
---|---|---|
SAVCFG | QSAVCFG | No |
SAVLIB *ALLUSR | QSAVALLUSR | Yes1 |
SAVLIB *IBM | QSAVIBM | Yes1 |
SAVLIB *NONSYS | QSAVLIBALL | Yes1 |
SAVSECDTA | QSAVUSRPRF | No |
SAVSTG | QSAVSTG | No |
SAVSYS | QSAVSYS, QSAVUSRPRF, QSAVCFG | No |
SAVSYSINF | QSYSINF | No |
GO SAVE Option 21 | QSRSAV21 | No |
|
The system uses the save history information when you save objects that have changed since the last save operation.