|
Le: 12 nov. 2007, vous écriviez dans:
gmane.comp.hardware.ibm.midrange:
Hi Everyone,
Hello Jim
I'm looking for a solution to my problem of long running reports.
Everyone once in a while a user gets carried away and submits a
very, very large report to the system. What I would like to do is
kill any reports that run for more than X minutes. These reports
run in our reporting queue/subsystem, so it would be safe to kill
any job in that subsystem that's been running for more that X
minutes.
Any ideas on how best to accomplish this? Or am I off the mark in
trying this?
You can try to create your own class for your subsystem and use the
"MAX CPU time" parameter. If you setup this parameter to anything else
than *NOMAX, the system will end the job when it uses more than the
number of milliseconds CPU. This is not exactly what you are looking
for but it may help.
--
Cordialement
Marc Rauzier
(pour me répondre, ne pas utiliser le from mais le reply-to)
--
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.