LSF Version 7.3 - Administering Platform LSF
Administering Platform LSF 451
Job Dependencies
◆ started(job_ID | "job_name")
done
Syntax done(job_ID | "job_name")
Description The job state is DONE.
ended
Syntax ended(job_ID | "job_name")
Description The job state is EXIT or DONE.
exit
Syntax exit(job_ID | "job_name"[,[operator] exit_code])
where operator represents one of the following relational operators:
>
>=
<
<=
==
!=
Description The job state is EXIT, and the job’s exit code satisfies the comparison test.
If you specify an exit code with no operator, the test is for equality (== is assumed).
If you specify only the job, any exit code satisfies the test.
Examples exit (myjob)
The job named myjob is in the EXIT state, and it does not matter what its exit code
was.
exit (678,0)
The job with job ID 678 is in the EXIT state, and terminated with exit code 0.
exit ("678",!=0)
The job named 678 is in the EXIT state, and terminated with any non-zero exit
code.
external
Syntax external(job_ID | "job_name", "status_text")
Specify the first word of the job status or message description (no spaces). Only the
first word is evaluated.
Description The job has the specified job status, or the text of the job’s status begins with the
specified word.