CA7 Depency for a job on specific days



Unicenter CA-7 Job Management: CA's workload automation tool for managing, visualizing, automating, optimizing applications

CA7 Depency for a job on specific days

Postby Aishwarya S » Wed Jan 11, 2012 3:24 pm

The Requirement is as below:
I have two jobs A and B
B runs on all days
A runs on specific days.Say monday and tuesday.

On Monday and Tuesday I want B to run only after A completes. B is not a direct trigger by A. A is just a dependency for B to run. If I place the depence on B that it runs only after A complets, then the job would be waiting for its dependency on all days.
Aishwarya S
 
Posts: 4
Joined: Wed Jan 11, 2012 3:19 pm
Has thanked: 0 time
Been thanked: 0 time

Re: CA7 Depency for a job on specific days

Postby Robert Sample » Wed Jan 11, 2012 5:15 pm

Set B up with two schedids -- one for the days A runs, one for the days A doesn't run. Make the dependency on A based on schedid.
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: CA7 Depency for a job on specific days

Postby Aishwarya S » Thu Jan 12, 2012 8:50 am

Thought of it.But I doubt if there are jobs been triggered by B which expects the schid existing then will it not create an issue
Aishwarya S
 
Posts: 4
Joined: Wed Jan 11, 2012 3:19 pm
Has thanked: 0 time
Been thanked: 0 time

Re: CA7 Depency for a job on specific days

Postby Robert Sample » Thu Jan 12, 2012 3:27 pm

If there are jobs triggered by B, then you should have mentioned that as part of your original post. If you don't provide full information, the answers you get back will not be complete, of course.

Work with your site support group to set up CA-7 the way you need for these jobs.
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: CA7 Depency for a job on specific days

Postby Aishwarya S » Thu Jan 12, 2012 5:33 pm

Thanks robert. I was trying to explore easier ways of doing it. May be adding a dummy job could help.
Posted in the forum to chose the easiest option. I shall try scheduling with different SCHID's. Thanks for your response
Aishwarya S
 
Posts: 4
Joined: Wed Jan 11, 2012 3:19 pm
Has thanked: 0 time
Been thanked: 0 time

Re: CA7 Depency for a job on specific days

Postby dick scherrer » Fri Jan 13, 2012 2:29 am

Hello,

Posted in the forum to chose the easiest option.
Surely the worst way to choose an implementation method. . . :(

What you Need (not what you want) is that this will run correctly every time for years and years. Saving an hour is not worth the long-term grief caused by lazy implementation. . .

fwiw.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: CA7 Depency for a job on specific days

Postby Aishwarya S » Fri Jan 13, 2012 10:58 am

There could be smart ideas as well. There is nothing wrong in exploring.
Aishwarya S
 
Posts: 4
Joined: Wed Jan 11, 2012 3:19 pm
Has thanked: 0 time
Been thanked: 0 time

Re: CA7 Depency for a job on specific days

Postby dick scherrer » Fri Jan 13, 2012 11:18 am

Hello,

There could be smart ideas as well. There is nothing wrong in exploring.
I am a big proponent of exploring and also of "smart ideas".

I am not in favor of looking firstly at ease of implementation, but rather in providing a good long-term solution. These are often quite different and incompatible. . .

Probably i should not protest too much - i have been hired many times to re-do something that was "thrown in" the easiest way possible and after the frustration of dealing with the shoddy performance, the organizations decided to bring in someone to re-implement. . . 8-)
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times


Return to CA-7