cgilker
New User
Joined: 02 Mar 2022 Posts: 4 Location: USA
|
|
|
|
I have 3 jobs: JOB1, JOB2, and JOB3. JOB3 needs to run every day, but is defined in CA7 to run only after JOB2 completes successfully.
In the past, JOB1 always ran JOB2 (via a CA7 DEMAND statement in the COBOL code).
Now, however, I am changing JOB1's COBOL code such that JOB1 will not always DEMAND in JOB2. But I still need JOB3 to run.
So in those cases, I would like JOB1 to POST the requirement such that JOB3 will run, even though JOB2 has not.
My question is which of these commands is the one that will accomplish that (I confess to being confused when I read the CA7 description of the POST command)?
POST,JOB=JOBB (is it this easy??)
or
POST,JOB=JOBB, DEPJOB=JOBC (does this tell JOBC that its requirement for JOBB is met?)
or
POST,JOB=JOBC, DEPJOB=JOBB (does this tell JOBC that its requirement for JOBB is met?)
My reading of the manual suggests that the first option is enough, but the DEPJOB option confused me, making me think that it is more complicated.
Thank you for any assistance you can provide. This is my first post, and I have tried my best to follow the guidelines, and do my own analysis before posting this question. |
|