RECOVER Control Statement

The RECOVER statement initiates the recovery process.
The RECOVER control statement initiates the recovery process. You can use this statement to recover databases, tablespaces, and indexes. This statement supports the use of wildcards with database, tablespace, indexspace, and index names.
This control statement has the following syntax:
RECOVER {DATABASE {
dbname
} [
Database Options
] [
RBA Options
|
Logpoint Options
] [
RECOVER
Global Options
]} | {TABLESPACE {[
dbname
.]
tsname
} [DSNUM
int
] [
Tablespace Options
] [
RBA Options
|
Logpoint Options
|
Recover DSN Options
|
OBID Translation Options
] [
RECOVER
Global Options
]} | {INDEXSPACE {
dbname.ixspname
} [DSNUM
int
] [
Index Options
] [
RBA Options
|
Logpoint Options
] [
RECOVER
Global Options
]} | {INDEX {(ALL) TABLESPACE {[
dbname
.]
tsname
}} | {([
creator.
]
ixname
) [TABLESPACE {[
dbname
.]
tsname
}] [DSNUM
int
]} [
Index Options
]} [
RECOVER Global Options
]} | {LIST {
listdef-name
}} [
Tablespace Options
|
Index Options
] [
RBA Options
|
Logpoint Options
| [
RECOVER Global Options
] {OBJ-LIST [
creator-id.
]
obj-list-name
} [
Tablespace Options
|
Index Options
] [
RBA Options
|
Logpoint Options
| [
RECOVER Global Options
]
Database Options
You can include the following database options in the RECOVER control statement:
[BY-PART {YES|NO}] [QUICKCOPY [COPY
nn
][([Y|N][,
ddname
|
templatename
][,
exitname
][,
icbackup
][,
devtype
])]]
Tablespace Options
You can include the following tablespace options in the RECOVER control statement:
[ALTERNATE [NO|YES]] [QUICKCOPY [COPY
nn
][([Y|N][,
ddname
|
templatename
][,
exitname
][,
icbackup
][,
devtype
])]] [RENAME-CONTROL [USER|AUTO]]
Index Options
You can include the following index options in the RECOVER control statement:
[ALTERNATE [NO|YES]] [QUICKCOPY [COPY
nn
][([Y|N][,
ddname
|
templatename
][,
exitname
][,
icbackup
][,
devtype
])]]
RBA Options
You can include the following RBA options in the RECOVER control statement:
[BACKOUT [YES|NO]] [LOGONLY] [TORBA {X'
byte-string
'|LAST-RBA|LAST-QUIESCE}] [FROMRBA {X'
byte-string
'}] [TOLOGLABEL
loglabel-name
] [FROMLOGLABEL
loglabel-name
]
Logpoint Options
You can include the following logpoint options in the RECOVER control statement:
[BACKOUT [YES|NO]] [FROMLOGPOINT {X'
byte-string
'}] [TOLOGPOINT {X'
byte-string
'|LAST-LOGPOINT|LAST-QUIESCE}] [TOLOGLABEL
loglabel-name
] [FROMLOGLABEL
loglabel-name
]
Recover DSN Options
You can include the following recover DSN options in the RECOVER control statement:
[TOCOPY {
dataset_name
|LAST-COPY}] [TODDN
ddname
] [TOVOLUME [CATALOG|
volser
|TOSEQN
int
]]
Recover DSN options are not global. These options apply only to the tablespace for which they are specified.
OBID Translation Options
You can include the following OBID translation options in the RECOVER control statement:
[ENDLOGPOINT {X'
byte-string
'}] [ENDRBA {X'
byte-string
'}] [FULLDD {
ddname
}] [FULLDSN {
dsname
}] [NO-NEW-COPY] [OBIDXLAT {
old_obid
,
new_obid
}] [ROWFORMAT {BRF|RRF}] [STARTLOGPOINT {X'
byte-string
'|HPRBA}] [STARTRBA {X'
byte-string
'|HPRBA}]
OBID translation options are not global. These options apply only to the tablespace for which they are specified.
RECOVER Global Options
You can include the following global options in the RECOVER control statement:
[ABEND-TASK] [ALLMSGS] [ARCHIVE-LOG-EXCP [YES|NO]] [CLONE] [COMBINE-LOGIC YES] [COPY-TYPE [LOCAL|RECOVERY]] [DMS/OS] [EDITPROC [PROBLEM|SUPERVISOR]] [ESTIMATED-RECS
int
] [HISTORY {NO|YES}] [IDCAMS-CATALOG [YES|NO]] [INLINE-COPY [NO|YES]] [KEEP-SIMULATION-SHADOWS [
NO
|YES]] [LOG-BACKUP [YES|NO]] [MAXTAPES
int
] [MAXTASKS
int
] | [PARALLEL
int
] [NO-SYSCOPY-ROW] [PICKLIST [NO|YES]] [PQCPARM
member
] [PREVIEW {YES|
NO
|SIMULATE}] [RENAME-CONTROL [USER|AUTO]] [REPAIR-DBD [YES|NO]] [RETAIN [NO|YES]] [S-IOP [NO|YES]] [SKIP-PENDING] [SMS-DATACLASS {NO|YES}] [SMS-GENERIC {NO|YES}] [SMS-MGMTCLASS {NO|YES}] [SMS-STORCLASS {NO|YES}] [SNAPSHOTACCESS INSTANT] [SORTDEVT
device-type
] [SORTFLAG [ALL|CRITICAL|NONE]] [SORTLOG [NO|YES|CONCURRENT]] [SORTNUM
int
] [SORTSIZE [4M|MAX|
n
M|
n
K]] [SPACE-DEFN [YES|NO]] [STARTUP-ACCESS {RESET|RW|RO|FORCE|STOP}] [STATS-OPTIONS [COLCARD-ALL|COLCARD-INDEXED]] [STOP-LIMIT
int
] [UPDATE-CATSTATS [NONE|ALL]] [USE-BACKUP-LOGS [NO|YES]] [USE-CHANGE-ACCUM [NO|YES]] [VERIFYSET NO|YES]