Hi,
This is NOT about AJS, but about the embedded simple Job Scheduler.
I've seen somewhere a tip (from IBM?) to pause the whole job scheduler (QJOBSCD), but I can't get my eyes back on it.
Something like HLDJOBSCDE JOB(*JOBSCD) ENTRYNBR(*ALL) for V7R5/6, but for previous versions (V7R3/4) not implementing the *JOBSCD option.
HLDJOBSCDE JOB(*JOBSCD) ENTRYNBR(*ALL)
I don't want to put every single job in *HLD, but the whole jobs scheduler instead.
Any hint welcome! Thanks 😊
Dear Sylvain
From this IBM Tech Note: System Jobs at https://www.ibm.com/support/pages/system-jobs, it's the system job named QJOBSCD. You may need to end it but I have no idea how to end it as it is not a normal batch job. I think you may need to call a system program to stop/start it but I cannot find the program name.
From more Google search, I find this Tech Note: Jobs Scheduled in WRKJOBSCDE Are Not Being Submitted at the Scheduled Time When QUSRSYS is Being Saved at https://www.ibm.com/support/pages/jobs-scheduled-wrkjobscde-are-not-being-submitted-scheduled-time-when-qusrsys-being-saved, and it appears that you need to do an exclusive lock over the system object named QUSRSYS/QDFTJOBSCD as the trick you are looking for. It seemingly appears you cannot end the scheduler itself as it is a system job.
Hi @Satid S,
Thank you very much for your answers, the "lock" is a very good idea and I'll give it a try!