Start of change

Copying catalog and directory objects

Use the DSNTIJIC installation job to create backup copies of catalog and directory objects.

Start of changeIf you are migrating from a Version 9 or earlier DB2® for z/OS® system, and your Version 10 DB2 for z/OS system is in conversion mode, use the DSNTIJIC job that is produced by running the installation CLIST in MIGRATE mode.End of change

Depending on the migration mode in which the DB2 for z/OS system is running, the COPY utility skips new or obsolete catalog and directory objects during processing and issues message DSNU1530I with RC0 for each skipped object. For example, in conversion mode, the COPY utility skips catalog and directory objects that are new for the version to which you are migrating. In new function mode, the COPY utility skips catalog and directory objects that are obsolete in the version to which you are migrating. Start of change When LISTDEF is used for catalog and directory objects, the COPY utility issues message DSNU054I for obsolete catalog or directory objects. If OPTIONS EVENT(ITEMERROR,SKIP) is specified, the object is skipped, and RC 4 is issued. Otherwise, the COPY utility terminates with RC 8.End of change

If the output image copy has a hardcoded DD statement to a tape device, the COPY utility opens and closes the data set to write a tape mark. This ensures that subsequent image copies stacked to the same tape volume can be written.

Specifying OPTIONS EVENT(ITEMERROR,SKIP) or OPTIONS EVENT(ITEMERROR,HALT) does not impact the skipping of new or obsolete objects.

The catalog table SYSIBM.SYSCOPY and the directory tables SYSIBM.SYSUTILX and SYSIBM.SYSLGRNX record information from the COPY utility. Copying the table spaces for those tables can lock out separate COPY jobs that are running simultaneously; therefore, defer copying the table spaces for SYSIBM.SYSCOPY, SYSIBM.SYSUTILX, and SYSIBM.SYSLGRNX until the other copy jobs have completed. However, if you must copy other objects while another COPY job processes the catalog or directory, specify SHRLEVEL(CHANGE) for copying the catalog and directory table spaces. Beginning in DB2 10, the COPY control statements in the DSNTIJIC job specify SHRLEVEL(CHANGE).

End of change