ioHistDataID |
char(8) |
An 8-byte structure identifier and "eye-catcher"
for storage dumps. The only valid value is SQLUHINF.
No symbolic definition for this string exists. |
oObjectPart |
db2Char |
The first 14 characters are a time stamp with
format yyyymmddhhmmss, indicating when the operation
was begun. The next 3 characters are a sequence number. Each backup
operation can result in multiple entries in this file when the backup
image is saved in multiple files or on multiple tapes. The sequence
number allows multiple locations to be specified. Restore and load
operations have only a single entry in this file, which corresponds
to sequence number "001" of the corresponding backup.
The time stamp, combined with the sequence number, must be unique. |
oEndTime |
db2Char |
A time stamp with format yyyymmddhhmmss,
indicating when the operation was completed. |
oFirstLog |
db2Char |
The earliest log file ID (ranging from S0000000 to S9999999): - Required to apply rollforward recovery for an online backup
- Required to apply rollforward recovery for an offline backup
- Applied after restoring a full database or table space level backup
that was current when the load started.
|
oLastLog |
db2Char |
The latest log file ID (ranging from S0000000 to S9999999): - Required to apply rollforward recovery for an online backup
- Required to apply rollforward recovery to the current point
in time for an offline backup
- Applied after restoring a full database or table space level backup
that was current when the load operation finished (will be the same
as oFirstLog if roll forward recovery is not
applied).
|
oID |
db2Char |
Unique backup or table identifier. |
oTableQualifier |
db2Char |
Table qualifier. |
oTableName |
db2Char |
Table name. |
oLocation |
db2Char |
For backups and load copies, this field indicates
where the data has been saved. For operations that require multiple
entries in the file, the sequence number defined by oObjectPart parameter
identifies which part of the backup is found in the specified location.
For restore and load operations, the location always identifies where
the first part of the data restored or loaded (corresponding to sequence
"001" for multi-part backups) has been saved. The data in oLocation is
interpreted differently, depending on oDeviceType parameter: - For disk or diskette (D or K),
a fully qualified file name.
- For tape (T), a volume label.
- For TSM (A and F), the vendor
library name/path that did the backup.
- For user exit or other (U or O),
free form text.
|
oComment |
db2Char |
Free form text comment. |
oCommandText |
db2Char |
Command text, or DDL. |
oLastLSN |
db2LSN |
Last log sequence number. |
oEID |
Structure |
Unique entry identifier. |
poEventSQLCA |
Structure |
Result sqlca of the recorded event. |
poTablespace |
db2Char |
A list of table space names. |
iNumTablespaces |
db2Uint32 |
Number of entries in the poTablespace list
that are available for use by the db2HistoryGetEntry API. |
oNumTablespaces |
db2Uint32 |
Number of entries in the poTablespace list
that were used by the db2HistoryGetEntry API. Each
table space backup contains one or more table spaces. Each table space
restore operation replaces one or more table spaces. If this field
is not zero (indicating a table space level backup or restore), the
next lines in this file contain the name of the table space backed
up or restored, represented by an 18-character string. One table space
name appears on each line. |
oOperation |
char |
See Table 2. |
oObject |
char |
Granularity of the operation: D for
full database, P for table space, and T for
table. |
oOptype |
char |
See Table 3. |
oStatus |
char |
Entry status: A for active; I for
inactive; E for expired; D for deleted;
and X for do not delete. |
oDeviceType |
char |
Device type. This field determines how the oLocation field
is interpreted: A for TSM, C for
client, D for disk, F for snapshot
backup, K for diskette, L for local, O for
other (for other vendor device support), P for pipe, Q for
cursor, S for server, T for tape,
and U for user exit. |