ACCOUNTING command with RESTORE subcommand

This section describes the ACCOUNTING command with the RESTORE subcommand.

Usage

Use the RESTORE subcommand to reload previously saved data (in a VSAM data set) for additional processing. After the data is restored, you can produce reports from the restored data alone, or from the restored data combined with newly reduced data.

Usage notes

  • Saved data can be restored as often as required.

Syntax of the RESTORE subcommand

Read syntax diagramSkip visual syntax diagramRESTOREDDNAME(ACRSTDDddname)

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 ACRSTDD.

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 RESDANDD.
Note:
  1. Do not specify DUMMY in your JCL for ACRSTDD. When you are not using RESTORE, omit this ddname 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 OM XE for DB2® PE 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 Report Reference.
⋮
RESTORE
   DDNAME (RESDANDD)
⋮