We wrote a custom JOBQHLD and a custom JOBQRLS.  These write to a file 
which job queues got held.  We don't record the names of job queues 
previously held.  When we run JOBQRLS it releases the job queues that are 
in that file.  We also have a file of exceptions - job queues that we do 
not want held by JOBQHLD.  For example QLPINSTALL.
So if your WRKJOBQ shows:
Queue        Library    Status
QBATCH       QGPL        RLS
MYJOBQ       MYLIB       HLD
QLPINSTALL   QSYS        RLS
And you run JOBQHLD you will see
Queue        Library    Status
QBATCH       QGPL        HLD
MYJOBQ       MYLIB       HLD
QLPINSTALL   QSYS        RLS
And if you then run JOBQRLS you will see
Queue        Library    Status
QBATCH       QGPL        RLS
MYJOBQ       MYLIB       HLD
QLPINSTALL   QSYS        RLS
Makes sense?
Rob Berendt
As an Amazon Associate we earn from qualifying purchases.
	
 
This mailing list archive is Copyright 1997-2025 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.