-----Original Message-----
From: Voris, John
From: Rob Berendt
We wrote code, using the job scheduler APIs, to hold any entry not
already held, and log those held to a file. Later we can run a
command to release all job scheduler entries that are in the file.
We have hundreds of job schedule entries. An untold number of them
are always on hold. When we do an HA switch from PROD to BACKUP we do
not want ANY of the job scheduler entries on PROD going active.
Rob Berendt
Could you post the code for that?
It would certainly help those in small shops doing WRKJOBSCE *PRINT and manually putting things on hold and take them off hold later.
It might make for a great article too.
- John V
We use the SAVOBJ QDFTJOBSCD, HLDJOBSCDE *ALL *ALL method then just RSTOBJ to return to the way it was. (Chuck mentioned this as well.)
--
Sean Porterfield
This email is confidential, intended only for the named recipient(s) above and may contain information that is privileged. If you have received this message in error or are not the named recipient(s), please notify the sender immediately and delete this email message from your computer as any and all unauthorized distribution or use of this message is strictly prohibited. Thank you.