# Delete Job

Deletes the job A job is a user-configured program in In-Sight Spreadsheet consisting of functions and designed for specific applications. You can create and edit jobs using the In-Sight Spreadsheet interface, and load them on a vision system for deployment in a live environment. from the specified slot in flash memory on the In-Sight vision system.

Note:

- The In-Sight vision system must be Offline.

## Delete Job Inputs

Syntax: DJ<ID>

Parameter | Description
--- | ---
ID | The job ID number (0 to 999).

## Delete Job Outputs

Returns a status code. The status codes are:

Status Codes | Description
--- | ---
1 | The command was executed successfully.
0 | Unrecognized command.
-1 | The job ID number is outside the allowable range (0 to 999).
-2 | The job could not be deleted, the vision system is Online, or the job slot is empty, therefore the command could not be executed.
-6 | User does not have Full Access to execute the command.

## Delete Job Example

To delete the job Test.job from slot 0 on the In-Sight vision system, issue the following command: DJ00Test.job

The In-Sight vision system responds on the following line with the status code of 1, indicating that the job was deleted successfully.