Limited supportBMC provides limited support for this version of the product. As a result, BMC no longer accepts comments in this space. If you encounter problems with the product version or the space, contact BMC Support.BMC recommends upgrading to the latest version of the product. To see documentation for that version, see Recovery Management for Db2 13.1.

Running Online Consistent Copy jobs


Running Online Consistent Copy can include the following tasks:

  • Starting Online Consistent Copy as a batch job
  • Displaying the status of an Online Consistent Copy job
  • Restarting a failed Online Consistent Copy job
  • Terminating an Online Consistent Copy job
  • Cleaning up the BMCUTIL and BMCSYNC tables

To run an Online Consistent Copy job, you must have the proper authorizations. Refer to Authorization-requirements for details. 

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:

SELECT * FROM BMC.BMCUTIL
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

Some content is unavailable due to permissions.

to display the status of current BMC utility jobs. See the BMC AMI Catalog Manager for Db2 for more information about the BMCUTIL command. 

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.

See Cleaning up the BMCUTIL and BMCSYNC tables for more information.

Warning

We recommend that you always clean up the BMCUTIL and BMCSYNC tables--do not ignore the failure. If no action is taken, subsequent executions of Online Consistent Copy might fail.

   

Terminating a job during 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 installed

    Some content is unavailable due to permissions.

    version 3.4, fix lib 3606 or greater, you can issue the BMCUTIL TERM command from

    Some content is unavailable due to permissions.

    . See the BMC AMI Catalog Manager for Db2for more information.



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*