Copying catalog and directory objects

For backup purposes, take image copies of catalog and directory objects.

Start of change

Procedure

To copy catalog and directory objects, use the following guidance:

  • If you are migrating from a Db2 11 system, and new function is not activated on your Db2 12 subsystem, use the DSNTIJIC job that is produced by running the installation CLIST in MIGRATE mode.
  • When LISTDEF is used for catalog and directory objects, LISTDEF object expansion for the COPY utility issues message DSNU1530I 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.
  • When LISTDEF is not used for catalog and directory objects, 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, before new function is activated in Db2 12, the COPY utility skips catalog and directory objects that are new in Db2 12. After new function is activated, the COPY utility skips catalog and directory objects that are obsolete in Db2 12. Specifying OPTIONS EVENT(ITEMERROR,SKIP) or OPTIONS EVENT(ITEMERROR,HALT) does not impact the skipping of new or obsolete objects.
End of change