|
You could try the system APIs. QUSLJOB lists jobs to a user space, QUSRJOBI provides information about a specific job. Using these APIs you can determine how many jobs with a specific name are currently executing, on a job queue, or exist only as spooled output. A considerable quantity of information is available for each job on the system. Hope this helps. Syd Nicholson Castlehill Computer Services Ltd. Wills, Mike N. (TC) wrote: >I have a job that is always running. However, I want to make sure that there >is only one instance of this job running. How do I monitor for this? > >Mike Wills >IT Corporate Support >Taylor Corporation >mnwills@taylorcorp.com >Phone: (507) 386-3187 > > >_______________________________________________ >This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list >To post a message email: MIDRANGE-L@midrange.com >To subscribe, unsubscribe, or change list options, >visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l >or email: MIDRANGE-L-request@midrange.com >Before posting, please take a moment to review the archives >at http://archive.midrange.com/midrange-l. >
As an Amazon Associate we earn from qualifying purchases.
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.