Archiving and retrieving historical data
At a later time, you can use the same utility to retrieve the data from the archive into a historical data set for viewing.
As soon as a historical data set fills up, MainView sends a status message to the operator console. BMC recommends setting up an automation product that uses this operator console message to trigger the IDCAMS REPRO or EXPORT function to offload historical data automatically to the archive each time a data set reaches capacity. For example, you can use one of these automation products:
Standard utility that your site uses
When you restore archived historical data, the data set that you move the data to must be currently allocated and must not be eligible for recording.
When you complete the restoration of a historical data set from tape, either no time and date stamps are displayed or invalid date and time stamps are displayed in the From Date, To Date, and Time fields for the data set.
The date and time data is not correct because the PAS reads the date and time of historical data sets only at data set initialization time or when data sets are added dynamically.
To restore archived historical data and display the correct date and time of a restored data set
- Use the D line command to deallocate the historical data set.
- Restore data from the archive by using an IDCAMS or other standard utility.
- Use the ADD command to add the historical data set to the historical database.
- (optional) Use the SAVE command if you want to permanently save the data set allocations so that they are not removed at the next PAS initialization.