This might be trivial question But i am in a new organization where CONTROL M is being used to schedule the job and i am running 2 etl packages using the command line process of control m.
And then now the question is that my jobs2 is dependent on job 1.
That means job 2 will run only if job1 was successful otherwise agent should quit.
I have no idea how to achieve this, please guide me.
Thanks
how to know in control M taht job is sucessful
- th_alejandro
- Nouveau
- Posts: 188
- Joined: 26 Nov 2008 12:00
- Location: Bogotá
ideas
Hello, follow this steps :
1) in job 1 define output condition, may be PART1-to-PART2, then
2) in job 2 define in condition, PART1-to-PART2
in this case, then agent only execute job 2 if job 1 finish OK.
1) in job 1 define output condition, may be PART1-to-PART2, then
2) in job 2 define in condition, PART1-to-PART2
in this case, then agent only execute job 2 if job 1 finish OK.