Archive copy option descriptions

You can use the ARCHIVE copy option to specify which copies to make of each log data set.

You can make up to four processed copies of each log data set and specify options that apply to all of the copies. You can also specify device options and filter options separately for each copy. For ARCHIVE1 and ARCHIVE2 you can also specify the REDO option. For more information, see the following topics:

The following table describes the ARCHIVE copy option and its parameters:

OptionDescription
ARCHIVE n

When you do not specify the REDO option, ARCHIVE n (where n = 1, 2, 3, or 4) specifies one of up to four processed copies of original log data sets.

The original log data sets must be within the range specified by the LIMIT option or be indicated as unprocessed by the archive history file. The original log data sets are deleted, unless this is a simulation (see Global option descriptions).

When you specify the REDO option, PACLOG processes copies 1 and 2 of log data sets that have already been processed and found within the same range.

Important

You can process copy 2 only if dual archive logging is used in your Db2 system.

Use ARCHIVE1 and ARCHIVE2 to create processed copies for local site use and ARCHIVE3 and ARCHIVE4 to create processed copies for recovery site use.

PREFIX prefix

Use this option to tell PACLOG to use prefix as the high-level qualifier in the data set names for the third or fourth processed log data sets (ARCHIVE3 and ARCHIVE4). PREFIX is only valid for the third and fourth processed log data sets and provides a means of identifying these log data sets as offsite logs. PREFIX is a required option for ARCHIVE3 and ARCHIVE4.

Warning

Ensure that the data set prefixes that you specify for the third or fourth copies are different from the prefixes used for the original local site archive logs. Otherwise, you might not be able to restart the job.

If the installation option TSTAMP is set to YES, prefix cannot be more than 17 characters. If TSTAMP is set to NO, prefix can be up to 35 characters. For information about installation options, see Installing.

REDO

When you specify the REDO option with either ARCHIVE1 or ARCHIVE2, PACLOG processes (or reprocesses) all log data sets (original or already processed) that are found within the range that is specified by the LIMIT option.

If a log data set within the range specified has already been processed and the current syntax specifies less filtering than the previous processing, PACLOG still processes the log data set, but you receive a warning message.

Important

Do not specify the REDO option with ARCHIVE3 and ARCHIVE4.

PACLOG updates the archive history file when reprocessing is completed. For more information, see Reprocessing a processed local site archive log. Also, for a discussion of the archive history file, see BMC archive history file.

Was this page helpful? Yes No Submitting... Thank you

Comments