I think you might need an exit point which checks
SELECT COUNT(*)
FROM TABLE(ACTIVE_JOB_INFO (
CURRENT_USER_LIST_FILTER => 'ROB'
))
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Jay Vaughn
Sent: Wednesday, March 13, 2019 2:03 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: limit users max active jobs
so we have a particular userProfile that executes off platform odbc/jdbc calls. (yuk - i'm currently in negotiations with upper management to end those and use YAJL rest instead)...
anyway in the interim... what is best way to allow user to only be able to have say 4 active jobs running at a single time? as you may guess, the sessions will hang and continue running and eat up resources.
at first I considered chgusrprf LMTDEVSSN to 4 but then realized that may only be for interactive sessions...
tia
jay
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.