Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SAP SQL Anywhere, on-demand edition 1.0 SP 6 » Task syntax

CancelTask task

Cancels the specified task.

Syntax 1 (SQL)
CALL DBCloud.CancelTask ( task=task )
Syntax 2 (Cloud Command utility)
dbcloudcmd run CancelTask task
  • task

    The task to cancel. Accepts a task name, ID, or a search query that returns a task. (Required)

Required privileges



When a task is canceled, all of its subtasks are also canceled. If the canceled task is of type CreateTaskGroup, then all tasks within the task group are canceled.

If you cancel a task that is only partially complete, an error message is returned for the canceled task. For example, if you cancel a running CreateServer task, the CreateServer task fails with an error.


The following command cancels the BackupDatabase task:

dbcloudcmd run CancelTask task=BackupDatabase