|
How about creating your own RUNQRY command in a lib above QSYS. It simply front-ends the real RUNQRY with any combination of CHGQRYA and CHGJOB. Use CHGQRYA to limit the amount of time, then maybe even lower the job priority via CHGJOB at the start of your CPP and then change it back at the end of the CPP. Doesn't seem too complicated..... HTH, Glenn Birnbaum -----Original Message----- From: Adam.Driver@xxxxxxxxxxxxx [mailto:Adam.Driver@xxxxxxxxxxxxx] Sent: Thursday, December 04, 2003 4:59 PM To: midrange-l@xxxxxxxxxxxx Subject: Re: Limiting (but not stopping) interactive query by user Hi Stefan, Unfortunately CHGQRYA means identifying a job once it has become a problem and then changing it. We want to prevent long running in teractive queries from causing problems in the first place, without limiting the ability to do interactive queries. Thanks Adam Driver Technical Consultant Kaz Technology Services Level 7 66 Wentworth Ave Sydney NSW 2010 Australia Phone: +61 2 9844 0386 Fax: +61 2 9844 0333 A division of Kaz Group Limited - visit our website at www.kaz.com.au date: Thu, 4 Dec 2003 08:45:06 +0100 from: Stefan Tageson <Stefan.Tageson@xxxxxxxxxxx> subject: Re: Limiting (but not stopping) interactive query by user > we have a customer that's requested us to limit interactive query by user; Adam, have a look at CHGQRYA Regards Stefan Tageson Intentia Consulting Sverige AB Propellergatan 1, SE-211 19 Malmö, Sweden Phone: +46 (0)40 691 35 00 Cell: +46 (0)733 913 813 Fax: +46 (0)40 691 3900 E-mail: stefan.tageson@xxxxxxxxxxx _______________________________________________ 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.