Page 1 of 1
trigger a job through a job ?
Posted: Tue Mar 12, 2024 5:10 pm
by Raja Babu
Hi,
I have a series of 10 jcls which I have to execute one by one. But is there a way to run the jobs where if I submit the first JCL the sequence of jcls run automatically one after the other ? Can I trigger a job through a job ?
Re: trigger a job through a job ?
Posted: Tue Mar 12, 2024 6:02 pm
by enrico-sorichetti
You have three options
NO changes to jcl stream
1 ) use opc or whatever job scheduling system is used in your organization
2) use the DJC //*NET statement
WITH changes to the jcl streams
3) after the application steps add a last step to submit to the internal reader the next job
IMO the less intrusive approach is number 2
Re: trigger a job through a job ?
Posted: Tue Mar 19, 2024 11:32 am
by Raja Babu
Thanks enrico.
What is //*NET do? Is not it a comment?
We have CA-7 but this we want to maintain outside scheduler.
I checked on INTRDR and that also looks like a good choice, Thanks for the pointer enrico.
Re: trigger a job through a job ?
Posted: Tue Mar 19, 2024 6:44 pm
by Robert Sample
Check the JCL Reference manual -- //*NET is definitely NOT a comment.