Information

This site will undergo a brief period of maintenance on Friday, 18 December at 12:30 AM Central/12:00 PM IST. During a 30 minute window, site availability may be intermittent.

Information
Limited support BMC 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 BMC AMI Copy for Db2 13.1.

ON ERROR BADSTATUS


The ON ERROR BADSTATUS option allows you to specify what action 

BMC AMI Copy

 is to take if a space or partition is in an unacceptable status or has a BMC or Db2 utility running against it.

ON ERROR BADSTATUS syntax diagram

GUID-A2664979-BD76-4C83-8D1D-CF74F9278619-low.png

 Values of ONERROR BADSTATUS

Value

Description

ON ERROR BADSTATUS END

(Default) ON ERROR BADSTATUS END indicates BMC AMI Copy is to terminate processing with a RC=12.

ON ERROR BADSTATUS SKIP

ON ERROR BADSTATUS SKIP causes BMC AMI Copy to issue a message, skip over the space, and continue processing other spaces specified in SYSIN.

If a space is skipped because of ON ERROR BADSTATUS SKIP, the space will not be retried if the job abends and you retry the job with a NEW/RESTART.

Warning

Important

When you specify ON ERROR BADSTATUS SKIP with SHRLEVEL CONCURRENT PREFERRED or with SHRLEVEL CONCURRENT REQUIRED and a skippable error occurs, skip processing takes precedence over the PREFERRED or REQUIRED behavior.

BMC AMI Copy checks for the conditions and issues the messages given in the following table:

Bad status condition

BMC AMI Copy message issued

The space is in use by a Db2 utility.

BMC30121E SPACE databaseName.spaceName ALREADY IN USE BY A DB2 UTILITY

The space is in use by a BMC utility.

BMC30123E SPACE databaseName.spaceName ALREADY IN USE BY UTILID utilid

The space is in a status that is not supported by BMC AMI Copy.

BMC30124E SPACE databaseName.spaceName STATUS IS NOT ALLOWED, STATUS = xx

A copy of a space was restarted in COPY phase and the status is incorrect for the SHRLEVEL.

BMC30126E SPACE databaseName.spaceName HAS STATUS INCONSISTENT WITH SHRLEVEL

The space is in STOP status.

BMC30506E DATABASE IS UNAVAILABLE. STATUS = STOP

The space was dropped during the copy.

BMC47302 I NO STATUS INFO FOR databaseName.spaceName. SPACE ASSUMED TO HAVE BEEN DROPPED.

The index space copy requires a quiesce of the associated table space, and the table space cannot be quiesced.

BMC160642W spaceName’S RELATED TABLE SPACE spaceName CANNOT BE QUIESCED


Related topic



 

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

BMC AMI Copy for Db2 12.1