Do you need to check that a job by that name is running ?  (and if not,
submit another ?)
Or that this is the *only* active instance of the job ?

If duplicate jobs are found, system returns CPI1157, (Severity 10), but
this is regardless of job status.

If you insert a requirement for an exclusive lock on a nominal object, just
to run the job, any subsequent
submitted jobs will abend when they begin to run, as an exclusive lock is
only available to one job at a time.

Fiona



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.