Managing Changes by using the CM batch interface
The Change Management (CM) batch interface is a JCL procedure that you can use to create, customize, and reuse batch jobs when managing changes in Db2® Admin Tool Change Management. You can import, analyze, run, and recover changes by submitting batch jobs without using the Change Management ISPF panels.
Before you begin
- Before
you can run any Db2 for z/OS® online utilities in CM
batch, you must have one of the following Db2 stored procedures set up and available:
- DSNUTILV (for Db2 12 for z/OS or later )
- DSNUTILU (for prior versions of Db2 for z/OS)
By default, CM batch uses these stored procedures to run utilities. You can change that behavior by using the CM batch parameter use_dsnutil_sp.
- Optionally configure the CM batch interface by taking one or more of the following actions:
About this task
The CM batch interface can be used to manage a change that was created with the Db2 Admin Tool panels. Likewise, a change that was imported using the CM batch interface can be managed using Db2 Admin Tool panels.
Specifically, the following Change Management functions are supported by the CM batch interface:
- Run compare (invokes IBM® Db2 Object Comparison Tool for z/OS to generate a delta change file that can be managed by Db2 Admin Tool Change Management)
- Import a mask
- Import an ignore
- Import a change (equivalent to using register change in the Db2 Admin Tool panels), including importing one or more DDL or delta change files into a single change
- Analyze a change (using the automatic base version method)
- Analyze a multi-target change
- Build a run job
- Run a change
- Recover a change
- Report changes
- Import a version file
- Import a version scope
- Analyze a change (using the user-defined or existing base version method)