Previous Topic: ROLLBACK SyntaxNext Topic: Usage


ROLLBACK Parameter

FILE

Rolls back one or more files. Recovery by file does not unlock any areas associated with the files.

segment-name

Specifies the segment associated with the file.

file-name

Specifies the name of the file.

AREA

Rolls back and unlocks one or more specified areas.

segment-name

Identifies the segment associated with the area.

area-name

Specifies the name of the area.

SEGMENT

Rolls back and unlocks all areas associated with the specified segments.

segment-name

Specifies the name of the segment.

DMCL

Rolls back all areas defined in the DMCL identified in the SYSIDMS parameter file.

ACTIVE
ALL
SEQUENTIAL

Applies before images in the sequence in which they occur starting from the end of the journal file, reading backwards.

SEQUENTIAL is the default.

SORTED

Sorts the before images in the journal file by database key and copies back only the earliest before image for any database key.

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

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

Note: When recovering VSAM KSDS files, do not use the SORTEDoption. You must use SEQUENTIAL.

VERIFY DATABASE

Verifies the after images in the journal file before applying the before images. If an after image in the journal file does not match the contents of the database, the roll back operation will terminate with an error.

By default, if you do not specify VERIFY, before images are copied back without first verifying the after images.

The optional DATABASE keyword is included for consistency with the ROLLFORWARD utility statement and has no impact on the processing of the VERIFY option.

STOP AT

Directs processing to stop as soon as possible after reaching a specified date and time in the journal file.

By default, processing will stop when the beginning 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.

HOTBACKUP

Forces ROLLBACK to also restore images for aborted run units.

UTC

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