# Delete Job

Deletes the job from the specified slot in flash memory on the In-Sight vision system.

Note:

- The In-Sight vision system must be Offline.
- This command only works on a job saved on the flash memory on the In-Sight vision system. If the job is stored on the configured Job Server or the SD Card installed to the In-Sight vision system, this command does not work.

## 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.