Sometimes user's interactive jobs fail on the PC side but leave a session
open on the AS400, this in turn causes the Total CPU to rise dramatically.
I would like monitor for jobs which reach a certain CPU limit, does anyone
know how this could be done.
Many thanks
Ian.
if you don't want to use API's issue a
"wrkActJob OUTPUT(*print) RESET(*yes)
SBS(<yourSbs>) CPUPCTLMT(<yourLimit>) SEQ(*cpuPct)
read back the spool file and process the jobs
on the other hand there are API's for that
QUSLJOB / QGYOLJOB
goto http://publib.boulder.ibm.com/pubs/html/as400/online/v4r4eng.htm
then categories and then work management API's.
HTH rolf
---------------------------
Dipl.Inf.(FH) Rolf P Mittag
Leipziger Str. 50
D-69214 Eppelheim
Fon: +49 (6221) 76 78 60
Fax: +49 (6221) 76 80 26
eMl: r...@r-m-e-d-v.de
If I remember correctly, there is a system value that controls what action
to take on failed devices - QDEVRCYAC. The default setting ( I think) is
*MSG which simply messages the session and causes the loop. If you set this
to *ENDJOB the job will be forced to end and this should stop the problem.
Dominic
"Ian Chadd" <ian....@sbs.siemens.co.uk> wrote in message
news:975u50$127$1...@taliesin2.netcom.net.uk...