The EXTRACT JOURNAL utility conceptually extracts the most recent AFTR image for each dbkey recorded on an archived journal file and writes it to an extract file. The extract file can later be used as input to a ROLLFORWARD command for a "quick" recovery of a database area or file.
When used as part of a regular procedure to extract journal images from archived journal tapes, it allows for a quicker recovery during a critical time frame by doing much of the work during a non-critical time frame. It also speeds up recovery by extracting only the journal images it needs to recover the areas or files selected.
Authorization
DBAWRITE authority is needed for all options.
►►─── EXTRACT JOURNAL FOR ─┬─ DMCL ──────────────────────────────┬────────────► │ ┌──────────── , ───────────┐ │ ├─ FILE ─▼─ segment-name.file-name ─┴─┤ │ ┌──────────── , ───────────┐ │ ├─ AREA ─▼─ segment-name.area-name ─┴─┤ │ ┌─────── , ──────┐ │ └─ SEGMENT ─▼─ segment-name ─┴────────┘ ►─┬─ COMPLETED ─┬──┬────────────────────┬────────────────────────────────────► └─ ALL ───────┘ └─ TO ─┬─ ddname ────┤ ├─ file-name ─┤ ├─ link-name ─┤ └─ SYS002 ◄───┘ ►─┬──────────────────────────────────────┬───────────────────────────────────► └─ VERIFY QUIESCE ──┬───────────┬──────┘ ├─ NONE ────┤ ├─ LIMITED ─┤ └─ FULL ────┘ ►─┬─────────┬────────────────────────────────────────────────────────────────► └─ UTC────┘ ►──┬─────────────────────────────────────────────────┬───────────────────────► └─ START AT ── ' ─┬─ date-time ─┬─ ' ─────────────┘ ├─ date ──────┤ └─ time ──────┘ ►──┬──────────────────────────────────────────────────┬──────────────────────►◄ └─ STOP AT ── ' ─┬─ date-time ─┬─ ' ───────────────┘ ├─ date ──────┤ └─ time ──────┘
Specifies that dbkeys for all areas defined in the DMCL specified in the SYSIDMS parameter file will be included in the extract file.
Specifies to include segment-name.file-name dbkeys in the specified file in the extract file.
Specifies to include segment-name.area-name dbkeys in the specified area in the extract file.
Specifies to include dbkeys for all areas defined in the specified segments in the extract file.
If you do not specify a STOP time, only after images for transactions that have completed by the end of the archive file will be written to the extract file. After images are written to the extract file for incomplete distributed transactions whose state is InDoubt at the end of the journal file (unless a manual recovery control file entry overrides this behavior by specifying BACKOUT for one or more of the transactions).
If you do specify a STOP time, only after images for transactions that have completed by the first checkpoint at or following the stop time will be written to the extract file. After images are written to the extract file for incomplete distributed transactions whose state is InDoubt at the stop time (unless a manual recovery control file entry overrides this behavior by specifying BACKOUT for one or more of the transactions).
If you do not specify a STOP time, after images for all transactions will be written to the extract file.
If you do specify a STOP time, after images for all transactions will be written to the extract file up to the point at or after the stop time where there are no active transactions. If such a point is not found by the end of the archive file, all after images will be written.
Specifies the external name to be used for the extract file.
The external z/OS, or CMS name for the extract file.
The external z/VSE name for the extract file.
The default name for all systems.
Specifies the level of quiesce point verification that will be performed.
Specifies that no quiesce point verification should be done. This is the default if neither VERIFY QUIESCE nor START AT is specified. If START AT is specified, NONE is treated as LIMITED.
Specifies that limited quiesce point verification be performed. This is the default if VERIFY QUIESCE is not specified and START AT is specified.
Specifies that the strictest form of quiesce point verification be performed. This is the default if VERIFY QUIESCE is specified without indicating the verification level.
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 processed. By default, processing starts at the beginning of the journal file.
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.
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.
Specifies the date and time, where:
yyyy-mm-dd-hh.mm.ss.ffffff
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.
Specifies that Start and Stop times are interpreted as UTC times instead of local times.
|
Copyright © 2014 CA.
All rights reserved.
|
|