Little background info:
We have a customer who has 2 jobs that are dataset triggered. The second job has a successor requirement of the first job. The problem lies in the fact that these jobs write to the same named dataset and send it to the same target location, and run within minutes of each other.
My question is, is there a way to set a time delay on the job so once it hits the CA7 queue it waits a desired time to run?
I have reviewed the CA7 Primer and DB maintenance guide with nothing seen to possibly have this accomplished.
Thanks
GAH
Time Delay Start for Job in CA7
-
- Global moderator
- Posts: 3720
- Joined: Sat Dec 19, 2009 8:32 pm
- Skillset: Systems programming, SAS, COBOL, CICS, JCL, SMS, VSAM, etc.
- Referer: other forum
- Location: Dubuque, Iowa, USA
Re: Time Delay Start for Job in CA7
I'm not sure this makes sense. Why not have the one job dataset triggered, and it triggers the second job? Would that not accomplish what you want?We have a customer who has 2 jobs that are dataset triggered. The second job has a successor requirement of the first job.
-
- Posts: 2
- Joined: Wed Jan 26, 2011 8:27 pm
- Skillset: Mainframe Computer Technician
- Referer: Google search
Re: Time Delay Start for Job in CA7
No because it would still run to close together. Im not sure why these are data set triggered and 1 is a successor. Successor meaning it must successfully complete in order for the second job to start in CA7. Doesnt necessarily mean it has to be triggered by the job nor even be in the same sequence of jobs in the string.
These jobs ran into a problem where a FTP file was much smaller than usual and it caused the system to believe it was writing the exact same information to a dataset due to the fact they run the same name to the same area.
This was a fluke occurence apparently and the user for now is satisfied with leaving it as is.
If there is an answer to a time delay for triggered jobs Id still be interested in hearing it.
Thanks
GAH
These jobs ran into a problem where a FTP file was much smaller than usual and it caused the system to believe it was writing the exact same information to a dataset due to the fact they run the same name to the same area.
This was a fluke occurence apparently and the user for now is satisfied with leaving it as is.
If there is an answer to a time delay for triggered jobs Id still be interested in hearing it.
Thanks
GAH
-
- Global moderator
- Posts: 3720
- Joined: Sat Dec 19, 2009 8:32 pm
- Skillset: Systems programming, SAS, COBOL, CICS, JCL, SMS, VSAM, etc.
- Referer: other forum
- Location: Dubuque, Iowa, USA
Re: Time Delay Start for Job in CA7
I am by no means an expert on CA-7. I know how to trigger jobs by time of day, predecessor job completing, data set creation -- but I don't recall anything able to set how much time between jobs executing. AFAIK, CA-7 considers a successor job as ready to run as soon as the predessor job completes, unless you put a time-of-day requirement on the job.
And terminlogy is critical to IT, where similar terms may mean very different things. The Glossary in the CA-7 Job Management Primer manual specifically provides the definition for "successor" as
And terminlogy is critical to IT, where similar terms may mean very different things. The Glossary in the CA-7 Job Management Primer manual specifically provides the definition for "successor" as
Your definition ofsuccessor. A job that runs after another job or an
output network whose tasks must be performed after
a job ends on the CPU.
is not the same -- and may cause you problems eventually.Successor meaning it must successfully complete in order for the second job to start in CA7.
-
- Posts: 1
- Joined: Thu Jan 27, 2011 3:36 am
- Skillset: CA-7 scheduling
- Referer: saw forum on web
Re: Time Delay Start for Job in CA7
Your best bet is to use CA-7s Automated Restart Facility (ARF). Define a job completion (JC) ARFSET that will take effect if the job completes normally. In the responses section code two actions, first an AW (wait) for the desired amount of time then second, an AC to issue a DEMAND command for the second job in the string.
-
- Similar Topics
- Replies
- Views
- Last post
-
- 0
- 1395
-
by Daniel9999
View the latest post
Tue Feb 09, 2021 2:13 am
-
- 3
- 2734
-
by engh
View the latest post
Mon Jan 09, 2023 2:23 pm
-
- 3
- 1816
-
by Blackthorn
View the latest post
Fri Mar 05, 2021 9:34 pm