Updated on 2024-10-23 GMT+08:00

Deleting a Script

If you do not need to use a script any longer, perform the following operations to delete it.

When you delete a script, the system checks whether the script is being referenced by some jobs. Version in the reference list lists the job versions that reference the script. After you click Delete, the job will be deleted as well as all version information about the job.

If a script to be deleted is being associated with a job, ensure that services are not affected after the script is forcibly deleted. If you want to continue to use the job, go to the Develop Job page and associate the job with an available script.

Prerequisites

The script that you want to delete is not used by any jobs.

Deleting a Script

  1. Log in to the DataArts Studio console by following the instructions in Accessing the DataArts Studio Instance Console.
  2. On the DataArts Studio console, locate a workspace and click DataArts Factory.
  3. In the left navigation pane of DataArts Factory, choose Data Development > Develop Script.
  4. In the script directory, right-click the script that you want to delete and choose Delete from the shortcut menu.
  5. In the displayed dialog box, click OK.

Batch Deleting Scripts

  1. Log in to the DataArts Studio console by following the instructions in Accessing the DataArts Studio Instance Console.
  2. On the DataArts Studio console, locate a workspace and click DataArts Factory.
  3. In the left navigation pane of DataArts Factory, choose Data Development > Develop Script.
  4. On the top of the script directory, click and select Show Check Box.
  5. Select the scripts to be deleted, click , and select Batch Delete.
  6. In the displayed dialog box, click OK.