Specifying a version scope for the source or target definition

If Change Management (CM) is enabled, you can select a version scope for your source or target. A version scope is a predefined set of objects. Version scope definitions are stored in CM tables and can include databases, table spaces, tables, indexes, views, stored procedures, triggers, and other objects. If you specify a version scope as your source or target, the definitions of the specified objects are retrieved from the Db2 catalog for the comparison.

Before you begin

This procedure assumes that you have completed the steps in 1. Specifying source objects or 2. Specifying target objects and specified option VS on the Specify Compare Source (GOC1) panel or the Specify Compare Target (GOC1) panel. The Specify Source Version Scope (GOC1VS) panel or the Specify Target Version Scope (GOC1VS) panel should be displayed.

Procedure

To specify a version scope for the source or target definition:

  1. On the Specify Source Version Scope (GOC1VS) panel or the Specify Target Version Scope (GOC1VS) panel, specify values in the version table Owner and Name fields to identify the version scope that you want to use to extract definitions from the Db2 catalog:
    Figure 1. Specify Source Version Scope (GOC1VS) panel
     
     GOC1VS  ----------------- Specify Source Version Scope ------------------------
    Command ===>                                                                   
                                                                                    
    Specify version scope (Source):                             
       Owner . . . . .            >            (? to look up)    
       Name  . . . . .                      >  (? to look up)    
                                                                 
     Specify compare version file output:                        
       Data set name .                        
                                                                 
     Enter a description (optional):                             
       Description . .                                               
    
  2. In the Data set name field, specify the output data set name for the version file.
    The specified data set must be one of the following types:
    • A variable-block sequential data set
    • A member of a partitioned data set with a record length of 16K (RECFM=Vx,LRECL=6144)

    If the specified data set does not exist, it is created. If an existing data set is specified, it is overwritten.

  3. Optional: In the Description field, specify a description of the source or target Db2 objects.
    The description is placed in the header record of the version file.
  4. Press Enter.
    The DB2 Object Comparison Tool Menu (GOCMENU) panel is displayed, and Version scope specified (DB2 catalog) is listed as the Specification Status for the source or target, depending on which one you specified.

What to do next

If you specified the source object definitions, specify target object definitions.

If you specified the target object definitions, specify compare masks (optional), specify ignore fields (optional), or generate a compare batch job.