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

DiagnoseDatabaseCopy task

Diagnoses the current status of a database copy.

Syntax 1 (SQL)
CALL DBCloud.DiagnoseDatabaseCopy ( databasecopy_list=databasecopy_list )
Syntax 2 (Cloud Command utility)
dbcloudcmd run DiagnoseDatabaseCopy databasecopy_list
Parameters
  • databasecopy_list

    A list of database copies to diagnose. Accepts a search query that identifies database copies. The search query can be a list of database copy names or IDs separated by semicolons (;), or a full search. (Required)

  • extra_notes

    An output parameter. Internal use only.

Required privileges

StartStopDatabase

Remarks

This task diagnoses the current status of one or more database copies. After the diagnosis completes, you may need to repair some or all of the database copies.

Example

If a cloud server or host was disconnected and is now running, or if a task failed on a database copy, run the following task to determine the current status of the database copy of the database mydb running on the cloud server my-server#3:

dbcloudcmd run DiagnoseDatabaseCopy databasecopy_list=mydb@my-server#3