Stopping a job
You can stop a job using the -stop option.
dsjob -stop [-useid] project job|job_id
-stop terminates a running job (equivalent to the DSStopJob function).
-useid specify this if you intend to use a job alias (jobid) rather than a job name (job) to identify the job.
project is the name of the project containing the job.
job is the name of the job. To stop a job invocation, use the format job.invocation_id.
job_id is an alias for the job that has been set using the dsjob -jobid command.