Re: Is there an easy way, in CL, to find out if there are other jobs with a known jobname active or scheduled?

"James H. H. Lampert via MIDRANGE-L" <[email protected]> Wed, 15 Jul 2026 13:44:18 -0700
Newsgroups gmane.comp.hardware.ibm.midrange
Message-ID <[email protected]>
On 7/15/26 1:20 PM, Jim Franz wrote:
> to do this without a release issue - allocate a file, and if already
> allocated , then pgm is already active... its kind of old school...

Already doing this. This is a way to check, if the "baton" object (a 
DTAARA actually called "BATON") is locked, whether it's held by another 
instance of the same job, or by some entirely different job that can 
take the baton.

At any rate, with visions of wading through a USRSPC dancing in my head, 
I'd underestimated the sheer number of QUSLJOB calls I'd accumulated 
over the years, and as it happens, there was one I could easily adapt.

--
JHHL

-- 
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support-FMtJrHiV//lnDLsaKlm4mFaTQe2KTcn/@public.gmane.org for any subscription related questions.