STATISTICS command with RESTORE subcommand

This section describes the STATISTICS command with the RESTORE subcommand.

Usage

Use the RESTORE subcommand to reload previously saved data for additional processing.

Usage notes

  • After the data is restored, you can produce reports from the restored data alone, or from the restored data combined with newly reduced data.
  • Saved data can be restored as often as required.

Syntax of the RESTORE subcommand

Read syntax diagramSkip visual syntax diagramRESTOREDDNAME(STRSTDDddname)

Subcommand options

The syntax diagram shows the options that are available with this subcommand. See Subcommand options for comprehensive descriptions of these options. The following list gives additional or specific descriptions of selected options, where appropriate.

DDNAME
Specifies the ddname used to reload a previously saved file for additional use. The ddname specifies the data set being restored. The default ddname is STRSTDD. You can specify any valid ddname, provided your JCL contains a valid DD statement for it.

When using RESTORE, your JCL can also include a valid DD statement for JSSRSDD, so that the related job summary information can also be restored.

Example using RESTORE with DDNAME option

This example specifies that the previously saved, reduced data is read from the data set defined by the ddname RESDSNDD.
Note:
  1. Do not specify DUMMY in the JCL for either STRSTDD or JSSRSDD. When you are not using RESTORE, omit these ddnames from your JCL.
  2. If you use the RESTORE and REDUCE subcommands in the same job stream, the INTERVAL and BOUNDARY options specified in REDUCE should match the INTERVAL and BOUNDARY options that were used to reduce the data being restored. If these values are different, the interval and boundary from the restored data is used.
  3. Data from previous versions of DB2® PM cannot be restored until it has been changed to the current OMEGAMON® for DB2 PE format by using the migrate function of the save-file utility. For information about migrating data, see the Report Reference.
⋮
RESTORE
   DDNAME (RESDSNDD)
⋮