Use this procedure to cancel a procedure with a status that is considered active. This includes procedure statuses of: *ACTIVE, *ATTN, *MSGW, *PENDCNL, and *QUEUED.
Important! Use this command with caution. Processing ends without reversing any actions performed by completed steps, which may leave your environment in an undesirable state. For example, ending a switch procedure could result in partially switched data.
If you cancel a virtual switch procedure when it is at any step within the range performed while the application group’s replication status indicates a virtual switch is starting, testing, or recovering, the procedure must be resumed. You will not be able to run any other procedure to start, stop, or switch the affected application group until the virtual switch procedure is resumed and allowed to run to completion.
The status of the procedure will be changed to *PENDCNL. If there are any inquiry messages waiting for an operator response, they are processed as if the response was Cancel. When all activity for currently running steps end, the status of the procedure will be automatically changed to *CANCELED.
To cancel an active procedure, do one of the following:
From the Work with Procedure Status display, type
12
(Cancel) next to the procedure you want and press Enter.From the Work with Step Status display, press
F15
(Cancel proc.).
A procedure that has been canceled can be resumed later, as long as its status has not been changed to *ACKCANCEL. When a canceled procedure is resumed, processing begins immediately after the point where it was ended.