Space announcements

   

This space provides the same content as before, but the organization of the home page has changed. The content is now organized based on logical branches instead of legacy book titles. We hope that the new structure will help you quickly find the content that you need.

IMAGECOPY statement

The IMAGECOPY statement specifies an exact location for input image copies.

Normally, Log Master uses the DB2 catalog to locate input image copies, and then uses the image copies to perform row completion or to obtain compression dictionaries. Use this statement when the record of an image copy has been deleted from the SYSIBM.SYSCOPY table of the DB2 catalog, but the image copy data sets themselves are still available. If you specify the image copy location, Log Master can use the image copies directly. You can specify multiple input image copies with one IMAGECOPY statement. The following figure shows the IMAGECOPY statement syntax.


OptionDescription

TABLESPACE NAME

Indicates that Log Master uses input from an image copy that contains the table space represented by tableSpaceName.

DSNDB04 | databaseName

Specifies the database associated with an input image copy.

ValueDescription
DSNDB04(default) Directs Log Master to obtain input from an image copy associated with DB2’s default database.
databaseNameDirects Log Master to obtain input from an image copy associated with the database defined by databaseName.
tableSpaceName

Specifies the table space that is contained in an input image copy.

Image copy parameters

Specifies the location and other attributes of an input image copy. See Image copy parameters.

Image copy parameters

The Image copy parameters specify the location and other attributes of an input image copy. The information from these parameters enables Log Master to use the image copy to perform row completion or to obtain a compression dictionary.

Log Master can obtain dictionaries from the following sources, listed in order of preference:

  • Current table space

  • DB2 log

  • Old Objects Table of the Repository

  • Image copies of the table space

The following figure shows the Image copy parameters syntax of the IMAGECOPY statement.

Note

Log Master cannot use DFSMS concurrent image copies. For more information, see Reading image copies.


OptionDescription

DATASET dataSetName

Specifies the name of a data set that contains the input image copy.

IMRBA x 'imrba'

Specifies the RBA/LRSN of the log point when the input image copy was created.

ENCRYPTED | FLASHCOPY | SNAPSHOT

Specifies the type of the input image copy. The default is a SYSCOPY copy.

DATE (date) TIME (time)

Specifies the date and time when the input image copy was registered in BMXCOPY or SYSCOPY. These values are required for an ENCRYPTED copy.

DSNUM 0 | DSNUM n

Specifies a partition of a partitioned table space that is contained in the image copy.

ValueDescription
DSNUM 0(default) Indicates that the input image copy contains pages for all partitions of the associated table space.
DSNUM nIndicates that the input image copy contains only the pages for the specified partition of the associated table space.
ICTYPE

Specifies the type of the input image copy.

ValueDescription
FULL (default) Specifies that the input image copy is a full image copy.
INLINE Specifies that the input image copy is an inline (or embedded) image copy, created during a load or reorganization action of the associated database.
INCRSpecifies that the input image copy is an incremental image copy.
DEVT deviceType

Specifies the type of the device that contains the input image copy. Enter a site-specific name for a type of storage device (for example, 3390 for a DASD device, or TAPE for a magnetic tape device). Use this keyword only if the image copy data set is uncataloged.

VOLSER (volser)

Specifies the VOLSER of the device that contains the input image copy. To enter multiple VOLSERs, separate each with a comma. Use this keyword only if the data set containing the input image copy is uncataloged.

SEQNO n

Specifies the sequence number if the input image copy is located on a tape volume. Use this keyword only if the data set containing the input image copy is uncataloged.

REMAP

Indicates that the input image copy occurred immediately after an event that remapped (modified) the record IDs (RIDs) in the table space. Typically, DB2 remaps RIDs when you run a DB2 Load or Reorg utility program.


Was this page helpful? Yes No Submitting... Thank you

Comments