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

DeleteFile task

Deletes an existing file.

Syntax 1 (SQL)
CALL DBCloud.DeleteFile ( filename=filename, host=host )
Syntax 2 (Cloud Command utility)
dbcloudcmd run DeleteFile filename host
Parameters
  • filename

    The file to delete. (Required)

  • host

    The host to delete the file from. Accepts a search query that identifies one host, for example a host name or ID. (Required)

Required privileges

ManageSystemResources

Remarks

Deletes an existing file.

Example

Run the following task to delete the file c:\ccc.txt from cloud host HostA:

dbcloudcmd run DeleteFile  "c:\ccc.txt" hostA