Default language.

Archiving and retrieving historical data


You can use the REPRO or EXPORT function of the IBM IDCAMS utility or the standard utility that your site uses to archive historical data to tape or to offline data sets.


At a later time, you can use the same utility to retrieve the data from the archive into a historical data set for viewing.

Archiving data

As soon as a historical data set fills up, BMC AMI Ops 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:

  • BMC AMI Ops Automation
  • Standard utility that your site uses

Retrieving data

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

  1. Use the D line command to deallocate the historical data set.
  2. Restore data from the archive by using an IDCAMS or other standard utility.
  3. Use the ADD command to add the historical data set to the historical database.
  4. (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.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*