|
We use a series of api's to look for object locks. For example the api that is like WRKOBJLCK can be used to get a list of jobs that have a lock on the library in question. Then you can proceed to cancel those jobs. We've already held the job queues and since we have a kick a$$ machine it doesn't take long for any batch jobs to have finished. So, all that is left, are some interactive jobs that our routine blows to kingdom come. Rob Berendt -- Group Dekko Services, LLC Dept 01.073 PO Box 2000 Dock 108 6928N 400E Kendallville, IN 46755 http://www.dekko.com Goinsc24@xxxxxxx Sent by: midrange-l-bounces@xxxxxxxxxxxx 04/14/2005 09:48 PM Please respond to Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx> To midrange-l@xxxxxxxxxxxx cc Subject Cancel sessions We submit batch jobs to run at night that require saving files to tape. Occasionally, a session is left "hanging" out on the system even though there are no active users. This results in a system message that the file is active and the saves are halted until the session can be canceled. Is it possible to check the system prior to running nightly batch jobs and automatically cancel all sessions? -- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx 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.