Previous Topic: ABENDNext Topic: ENDDATE


ARCHIVE

The ARCHIVE control statement tells CA SMF Director that the dump process should not only copy the records from the logstream, but also should delete the records from the logstream once they are successfully copied to the history files and indexed in the SCDS. There are several restrictions on the use of ARCHIVE:

  1. ARCHIVE cannot be used on logstreams that contain data from multiple systems.
  2. ARCHIVE is mutually exclusive with the following operands: ENDDATE, ENDTIME, STARTDATE, STARTTIME.
  3. The SMFDOUT file must be an allocated file to accept a copy of the records when dumping. A DUMMY on the DD is not allowed.

When using ARCHIVE in your SMF logstream dump process, it is required that the SMFDOUT DD in your dump process JCL point to an allocated DASD or tape dataset. Also, the datasets that are allocated to DASD be sufficient in size to accommodate all of the SMF records that are dumped. When SMFDOUT is assigned to DUMMY, the dump terminates with a User ABEND code of 1006.

Note: ARCHIVE cannot be used when your logstream records data from multiple systems. The indexing architecture in CA SMF Director requires that the SMF logstream dump process only dumps data from a combination of one system and one logstream only. If you are recording data from multiple systems to a single SMF logstream, use the non-ARCHIVE method of dumping.

Statement Format:

ARCHIVE

►►─ ARCHIVE ────────────────────────────────────────────────────────────────────►◄