trigger a job through a job ?

All sort of Mainframes Interview Questions.
Post Reply
Raja Babu
Registered Member
Posts: 23
Joined: Mon Nov 17, 2014 3:48 pm
India

trigger a job through a job ?

Post 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 ?
enrico-sorichetti
Global Moderator
Global Moderator
Posts: 826
Joined: Wed Sep 11, 2013 3:57 pm

Re: trigger a job through a job ?

Post 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



 
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort 8-)
Raja Babu
Registered Member
Posts: 23
Joined: Mon Nov 17, 2014 3:48 pm
India

Re: trigger a job through a job ?

Post 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.
 
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1895
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: trigger a job through a job ?

Post by Robert Sample »

Check the JCL Reference manual -- //*NET is definitely NOT a comment.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “Interview Questions.”