Running Online Consistent Copy jobs
To run an Online Consistent Copy job, you must have the proper authorizations. For more information, see Authorization-requirements .
Starting a job
An Online Consistent Copy job runs as a batch job. You start the job by submitting it for execution. Ensure that all target spaces have an acceptable initial status before you start an Online Consistent Copy job.
Displaying the status of jobs
You can determine the status of Online Consistent Copy jobs that are currently running or that have failed by issuing an SQL SELECT statement on the BMCUTIL table.
Use the following statement as an example where BMC.BMCUTIL is the BMCUTIL table name:
WHERE DBNAME='databaseName' AND
SPNAME='tableSpaceName'
If you installed the BMC AMI Change Manager for Db2 product with Online Consistent Copy, you can issue the BMCUTIL command in
to display the status of current BMC utility jobs. For more information about the BMCUTIL command, see the BMC AMI Catalog Manager for Db2 documentation.
Restarting a job that failed
If an Online Consistent Copy job fails, you should clean up the BMCUTIL and BMCSYNC tables and restart the job from the beginning, if needed.
For more information, see Cleaning up the BMCUTIL and BMCSYNC tables.
Terminating a job during the execution
If immediate termination of Online Consistent Copy is required, cancel the job by using the MVS or TSO CANCEL command. Then, use one of the methods described in Cleaning up the BMCUTIL and BMCSYNC tables to clean up the BMCUTIL and BMCSYNC tables.
Cleaning up the BMCUTIL and BMCSYNC tables
If an Online Consistent Copy job fails, you must clean up the BMCUTIL and BMCSYNC tables before running any more BMC utilities against the space.
You can use the following method to clean up the BMCUTIL and BMCSYNC tables:
- If you have a license for
you can issue the BMCUTIL TERM command from that product. For more information, see the BMC AMI Catalog Manager for Db2 documentation.