sp_cluster logical, action

Description

Modifies an outstanding action, such as canceling the action or changing the timing of the action.

Syntax

sp_cluster logical, "action", lc_name, { 
	cancel, action_handle |
	modify_time, action_handle, wait_option[, timeout ] |
	release, action_handle }

Parameters

lc_name – is the name of the logical cluster.

cancel – specifies an action to be canceled.

action_handle – is the action identifier.

modify_time – specifies that the time of the action is to be modified.

wait_option – is how the time of the action is to be modified. Values are:

timeout – is a specific amount of time (when used with wait) or a specific time (when used with until). The format is “hh:mm:ss” according to a 24-hour clock. For example, timeout records "11:30 p.m" (or "11:30pm") as "23:30:00".

release – specifies that all resources held by a completed action are to be released.

Examples

Example 17

Example 1 Cancels a timed action on the “SalesLC” logical cluster. The action handle is 4390.

sp_cluster logical, "action", SalesLC, cancel, "4390"

Example 18

Example 2 Changes the wait option for existing action 5364 to nowait.

sp_cluster logical, "action", SalesLC, modify_time, "5364", nowait

Example 19

Example 3 Releases action 3456 for the “SalesLC” logical cluster.

sp_cluster logical, "action", SalesLC, release, "3456"

Example 20

Example 4 Releases all completed or cancelled actions for the “SalesLC” logical cluster.

sp_cluster logical, "action", SalesLC, release, "all"

Usage