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

SQL Anywhere 12.0.1 » MobiLink - Server Administration » MobiLink server technology » Central administration of remote databases » Remote tasks » Commands


Adding a command

The following list shows the ways you can add a command to a task:

  • In the Folders view in the left pane, right-click the task and click Add Command.

  • In the Folders view in the left pane, select the task and click the Add Command toolbar button.

  • When you create a task, you automatically get a command in the right pane. Press Tab to move from parameter to parameter. If you keep pressing Tab, a new command is automatically added to the task.

  • Right-click an existing command and click Add Command.

  • Right-click in the whitespace under the existing commands and click Add Command.

  • Select the task in the Folders view in the left pane. From the File menu click Add Command.

 Add a command to a remote task (Sybase Central)

A remote task cannot be deployed until it contains at least one command. Follow the procedure below to add commands to a remote task.

  1. Ensure the MobiLink project you are working with is selected in the Folders view in the left pane.

  2. Expand Remote Tasks, right-click the remote task you want to work with and click Add Command. The Commands pane appears in the right pane.

  3. From the Command Type dropdown list, choose the type of command required. For information about the available commands, see Commands.

  4. Fill in the appropriate parameters for the selected command.

  5. From the On failure dropdown list, choose one of the following options to specify how to proceed if the command fails:

    • Abort Task   The current attempt to execute the task is terminated and the attempt is marked as failed.

    • Continue   The task will continue to execute by moving to the next command.

    • Retry Command   The task is retried beginning at the failed command. If the maximum number of retry attempts for the task is reached, the command is not retried.

    • Restart Task   The task is retried, starting at the first command. If the maximum number of attempts for the task is reached, the task is not retried.