Previous Topic: Restoring the SCDS

Next Topic: Closing Out History Tapes

Restoring the SMF Index Entries

When restoring the SCDS file, you must take great care to restore its index data entries correctly. If any entries were updated after the backup was taken, you must apply them to the restored SCDS file manually, using the ADDX command. If you fail to do so, it is not possible to automatically retrieve the SMF records that correspond to the missing index entries.

To maintain the SCDS file, you should:

  1. Back up the SCDS following the procedure described in the section titled Backing Up the SCDS.
  2. Retain the output listings of the SMF dumps, especially those since the last backup of the SCDS file, since they contain the name of the index entries and all the data needed to rebuild the index.
  3. Restore the SCDS using the CASFRSTR sample JCL member described on the previous page.
  4. Execute program SMFD using the LISTH command to see which entries are missing.
  5. Use the output listings to determine which indexes are missing; then build an ADDX statement for each one (see Chapter 4 in the User Guide for details).
  6. Execute program SMFD using the ADDX command to manually add the missing indexes.
  7. Execute program SMFD using the LISTH command to verify that all index entries are present.

The following is an example of the output from a CA SMF Director Restore Run.

CA AUDIT TRAIL REPORT SMFD PAGE 1 CA SMF Director r12 SPn SYSA 22 DEC yyyy 16:52:45 CAF5I 24 SCDS BLOCKS FORMATTED CAF525I 16:52:45 SCDS RESTORE FROM BACKUP FILE OF 12/22/yyyy 16:37:38 IN PROGRESS CAF54I 15 CNFC RECORDS CAF54I 15 CNFA RECORDS CAF54I 1 CNFN BLOCK CAF54I 1 CTLR BLOCK CAF54I 369 DPIX RECORDS CAF54I 1516 DSIR BLOCKS CAF54I 95 FREE BLOCKS CAF54I 9 FSPR RECORDS CAF54I 2516 TOTAL BACKUP FILE RECORDS CAF511I 17:12:29 SCDS RESTORE COMPLETE, 536 BLOCKS AVAILABLE CAF29I RUN COMPLETE

Important! Do not dump SMF data using a restored file until after you have updated and verified the indexes. If the SMF threatens to overflow the MANn files, dump it using the IBM dump program. See the section Alternative MAN File SMF Dump Procedure later in this chapter. Then place that data under CA SMF Director control by means of the SOURCE and DUMP commands using sample JCL CASFDMP4, or ADDX commands using sample JCL CASFCTL1.