Space announcement This space provides the same content as before, but the organization of the home page has changed. The content is now organized based on logical branches instead of legacy book titles. We hope that the new structure will help you quickly find the content that you need.

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. 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:

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. 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.

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 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

    Some content is unavailable due to permissions.

    you can issue the BMCUTIL TERM command from that product. For more information, see the BMC AMI Catalog Manager for Db2 documentation.

 

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