Creating version scopes

You can create a version scope.

About this task

To create a version scope:

Procedure

  1. Specify option 4 on the Change Management (CM) panel to display the Manage Versions panel.
  2. Specify option 3 on the Manage Versions panel to display the Insert Version Scope panel.
  3. Specify a name and owner for the version scope, and, optionally, enter a comment for the version scope.
  4. Press F3 to return to the Manage Versions panel.
  5. Specify option 2 to display the Version Scopes panel.
  6. Specify the SO line command for the version scope that you created.
    The Version Scope Objects panel is displayed, as shown in the following figure:
    Figure 1. Version Scope Objects panel (ADB2C4O)
    DB2 Admin ----------- CM - Version Scope Objects ------------- Row 1 to 1 of 1 
    Command ===>                                                  Scroll ===> PAGE 
                                                                                   
    Version scope objects for scope "DBAUSER2"."NEWSCOPE"                          
    Commands: SAVE                                                                 
    Line commands:                                                                 
      I - Insert  D - Delete  R - Repeat                                           
                                                                                   
    Sel T  Qual     Name               Oper.                                       
        *  *        *                  *                                           
    --- -- -------> -----------------> ------                                      
                                                                                   
        ?  ?        ?                                                              
    ******************************* END OF DB2 DATA *******************************
    
  7. Use the I line command to add each object that you want in the version scope, and specify the type of object, a qualifier, and a name for the object.
    You can also use the D line command to delete objects from the scope definition, and you can use the R line command to repeat a line to make it faster to define the objects in the scope.
    The values for the qualifier and name can contain zero or more of the following wildcard characters:
    • Minus sign (-) represents any single character.
    • Percent sign (%) or asterisk (*) represents one or more characters.
    • Any other character represents a single occurrence of itself.
    The rules for the wildcard characters follow the rules that are used for the LIKE predicate.

    See the online help for the Version Scope Objects panel for a description of the input fields, which includes a list of the types of objects that you can add.

    The following figure shows an example of a version scope definition.

    Figure 2. Example of a version scope definition
    DB2 Admin ----------- CM - Version Scope Objects ------------- Row 1 to 6 of 6 
    Command ===>                                                  Scroll ===> PAGE 
                                                                                   
    Version scope objects for scope "DBAUSER2"."NEWSCOPE"                          
    Commands: SAVE                                                                 
    Line commands:                                                                 
      I - Insert  D - Delete  R - Repeat                                           
                                                                                   
    Sel T  Qual     Name               Oper.                                       
        *  *        *                  *                                           
    --- -- -------> -----------------> ------                                      
                                                                                   
        DB          DBADB001                                                       
        TS DBADB002 TSAB%                                                          
    
  8. Issue the SAVE primary command to save the definition of the scope.