Previous Topic: ROLLFORWARD SyntaxNext Topic: Usage


ROLLFORWARD Parameter

FILE

Specifies that one or more files is to be restored. Areas associated with the specified files are not unlocked.

segment-name

Specifies the segment associated with the file.

file-name

Specifies the name of the file.

AREA

Specifies that one or more areas are to be restored and unlocked.

segment-name

Identifies the segment associated with the area.

area-name

Specifies the name of the area.

SEGMENT

Specifies to restore and unlock all areas associated with the specified segments.

segment-name

Specifies the name of the segment.

DMCL

Restores all areas defined by the DMCL specified in the SYSIDMS parameter file.

rollforward-options

Specifies options used to rollforward from a standard archive journal tape.

Expansion of rollforward-options immediately follows the main statement syntax.

FROM EXTRACT

Specifies that an extract journal will be used for input instead of a standard archive journal tape.

This option excludes use of the SORTED/SEQUENTIAL, VERIFY, ALL/COMPLETED, and STOP AT options because these options have no effect on the already created extract file.

ddname

Specifies the external name for the input extract file.

COMPLETED
ALL
SEQUENTIAL

After images are applied in the sequence in which they occur in the journal file.

SEQUENTIAL is the default.

Note: Backward file reads are not supported under z/VM. If an aborted transaction is encountered, a backward read may be attempted, in which case it will fail. For this reason, it is safer for z/VM users to specify SORTED.

SORTED

Specifies that after images are to be sorted in the journal file by database key and only the latest after image for any database key is applied.

All the database keys on a given database page will be copied back together. Thus, each page will be accessed once.

By default, if you do not specify SORTED, the after images will be copied back sequentially.

Note: You cannot use the SORTED option with VSAM KSDS files.A native VSAM KSDS file must be recovered using the SEQUENTIAL option.

VERIFY

Indicates that the validity of the specified conditions should be checked. If the VERIFY option is not specified, no checking is performed. If VERIFY is specified without DATABASE or QUIESCE, DATABASE is the default.

START AT

Specifies that the operation should start only after reaching a specified date and time in the journal file. Only images for transactions that begin after the specified start time will be applied. By default, processing starts at the beginning of the journal file.

STOP AT

Specifies that the operation should stop as soon as possible after reaching a specified date and time in the journal file.

By default, processing stops when the end of the journal file is reached.

date

Specifies the date, in one of the following formats:

In these formats, the following rules apply:

The combined values of yyyy, mm, and dd must represent a valid date. For example, 1988-02-29 is a valid date. 1989-02-29 is not.

date-time

Specifies the date and time, where:

time

Specifies the time in one of the following formats:

The rules for specifying TIME are the same as those listed for DATE-TIME.

When TIME is specified, the date defaults to the current date.

UTC

Specifies that Start and Stop times are interpreted as UTC times instead of local times.