Receiving data structure changes from a strong receiver
The new version of the data structures must be contained in a DDL file or worklist that was generated by
BMC AMI Change Manager for Db2
. Local modifications that you have made to the existing version of the data structures are retained in the new version.
In this task, you create and execute a task ID.
Before you begin
The following Change Manager objects are required for this script:
- A DDL baseline from the existing version of the data structures
- A DDL baseline profile
- An inbound migrate profile, if you want to use its change rules
- A new version of data structures contained in a DDL file or worklist that was generated by Change Manager
To create a task ID
- On the BMC AMI Change Manager for Db2 Main Menu, select CM/PILOT, and press Enter.
- On the CM/PILOT Main Menu, select TASKIDs and press Enter.
- On the TASKID Action Menu, type the name of a new TASKID and select Create a TASKID. Then, press Enter.
- On the Script Selection List, select Receive data structure changes (strong receiver), create Baseline and then press Enter.
- On the Create TASKID panel , specify the information for a task ID.
- CM/PILOT uses the name of the task ID as the name for a new alter-type work ID. You can type a different name for WORKID or type the name of a work ID name template.
(Optional) Type the name of a CM/PILOT Application. An Application groups a set of Change Manager profiles. For more information about Applications, see Using-scripting-tools-to-automate-change-management.
- (Optional) Specify a Comment to describe the task ID.
- Press Enter. Press END.The task ID is created.
To execute the task ID
- On the TASKID Action Menu panel, select Execute a TASKID and press Enter.
- On the TASKID Interface panel, specify the data set names to be used by CM/PILOT.
- Type the data set name for the CM/PILOT Worklist.
- Type the data set name for the CM/PILOT JCL.
- Type the data set name for Diagnostics or type SYSOUT.
- Select the method of executing the CM/PILOT worklist.For more information about executing a CM/PILOT worklist, see Processing-CM-PILOT-worklists.
- (Optional) Override the options that are set in Change Manager.
- Type S to select Override Change Manager options and then press Enter.
- On the Override Change Manager Options panel, select Override Change Manager Options.
Type S to select the Change Manager Analysis and Execution options that you want to override, and press Enter.For more information about the options, see Using-options-to-control-your-environment.
- Press END until the TASKID Interface panel is displayed.
- On the TASKID Interface panel, create a CM/PILOT worklist.
- Type S to select Create Worklist. Then, press Enter.
- On the Step Settings panel, type S to select the steps in the script that you want to modify, and press Enter.
- To display subsequent Step Settings panels, press Enter.After the Step Settings panels are displayed, the Taskid Compare CDL Options panel is displayed.
- On the Taskid Compare CDL Options panel, specify the object types and attributes for the comparison.
- Type Y or N for each object type that you want to include in or exclude from the comparison.
- Type S to display a list of the object attributes to include in or exclude from the comparison.
- On the Compare Object Attributes panel, if you selected to display a list of the object attributes, specify the object attributes.
- To include an object attribute in the comparison, type Y adjacent to the attribute.
- If you specified to include the partition attributes, you can exclude one or more of the partition attributes. Type N adjacent to the attributes that you want to exclude.
- Press Enter to return to the Compare CDL Options panel.
- On the Taskid Compare CDL Options panel, press Enter.
- (Optional) On the TASKID Migrate Profiles panel, specify the name of an outbound migrate profile. The outbound migrate profile can contain change rules and locations. Change Manager applies the rules after it performs the comparison (when it generates the CDL).
- (Optional) Specify the name of a second outbound migrate profile. The outbound migrate profile must contain change rules to resolve the names of the objects and creators. Change Manager applies the change rules to the objects before the comparison.
- (Optional) Specify the name of an inbound migrate profile. The inbound migrate profile can contain change rules. It can be used when the CDL that is generated from the comparison is imported.
- Press Enter.
- On the TASKID Baseline Profiles panel, type the name of the Baseline Profile to be used in this task ID or type a wildcard pattern and select a profile from the list. Then, press Enter.
On the TASKID New Baselines panel, specify the information for the new baseline.
- (Optional) Type the name of a new baseline.
- To protect the baseline from deletion, type Y to select Protect.
- (Optional) Specify Comments to describe the baseline.
- Press Enter.
- On the TASKID Existing Baselines panel, specify the name of the baseline and press Enter.
- On the Change Manager Datasets panel, specify the DDL and CDL files, and the data set names to be used by the Import, Analysis, and Execution components of Change Manager. Then, press Enter until the TASKID Interface panel is displayed.
On the TASKID Interface panel, select your options for processing the CM/PILOT worklist.
- To edit the CM/PILOT worklist, type S to select Edit Worklist.
- To create the JCL to run the worklist, type S to select Create JCL.
- To review or modify the JCL, type S to select Edit JCL.
- To submit the JCL to run the CM/PILOT worklist, type S to select Submit JCL.
- Press Enter.
CM/PILOT creates an Analysis worklist and the Execution JCL that is required to run the worklist.
To receive the data structure changes, execute the Analysis worklist.