Creating version scopes
In Change Management (CM), a version is a snapshot of the definitions of a set of objects at a point in time. Create a CM version scope to define the set of objects to include in a version.
About this task
To create a version scope:
Procedure
- Specify option 4 on the Change Management (CM) panel to display the Manage Versions panel.
- Specify option 3 on the Manage Versions panel to display the Insert Version Scope panel.
- Specify a name and owner for the version scope, and, optionally, enter a comment for the version scope.
- Press F3 to return to the Manage Versions panel.
- Specify option 2 to display the Version Scopes panel.
- 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 *******************************
- 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.
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%
- Issue the SAVE primary command to save the definition of the scope.