IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to hold a daily job for a monthly job


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
anandgbe

New User


Joined: 03 Mar 2016
Posts: 14
Location: India

PostPosted: Mon Mar 07, 2016 12:59 pm
Reply with quote

In my case,

Job A - is the monthly job runs on last working day of the month (usually runs at 12:10 AM)
Job B - is the daily job (usually runs at 12:08 AM).

Both triggered by different front end jobs.

I want the Job A to run first, ahead of Job B. I cant change the schedule, as it have ;large impact.

I can make Job B hold for 2 mins on one day of the month, It wont have much impact. Please suggest me, on what condition I have to hold Job B until successful completion of Job A

Is it possible to use successor/Predecessor/Requirement conditions to make Job B run after successful completion of Job A?

If I make Job B as the successor of Job A, Will Job B runs on other working days without waiting for the Job A?

Please let me know If I am not clear.

I tried all the combinations and googled too.

Thanks a lot for your time:)
Back to top
View user's profile Send private message
Pandora-Box

Moderator


Joined: 07 Sep 2006
Posts: 1565
Location: Andromeda Galaxy

PostPosted: Mon Mar 07, 2016 2:23 pm
Reply with quote

Your requirement is pretty vague
So you expect the job B to run after job A without chaning the schedule?
Back to top
View user's profile Send private message
anandgbe

New User


Joined: 03 Mar 2016
Posts: 14
Location: India

PostPosted: Mon Mar 07, 2016 2:34 pm
Reply with quote

Yes, Requirement is Job B to run after Job A without changing the schedule.
Back to top
View user's profile Send private message
Pandora-Box

Moderator


Joined: 07 Sep 2006
Posts: 1565
Location: Andromeda Galaxy

PostPosted: Mon Mar 07, 2016 2:41 pm
Reply with quote

Talk to the schedule team....
Back to top
View user's profile Send private message
enrico-sorichetti

Senior Moderator


Joined: 14 Mar 2007
Posts: 10714
Location: italy

PostPosted: Mon Mar 07, 2016 2:46 pm
Reply with quote

Quote:
Requirement is Job B to run after Job A without changing the schedule.


the requirement is beyond any reasonableness !

probably the only scheduler that can do that is IEHPROPHET(*)

(*) it does what You want without being told
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2453
Location: Hampshire, UK

PostPosted: Mon Mar 07, 2016 4:44 pm
Reply with quote

Without changing the scheduling criteria i.e. what day/time you can achieve what you want by dependency, The dependency only exists if both jobs are on the same 'plan' i.e. once a month, otherwise there is no dependency so your daily job will kick-off as usual.

But you should have asked your team mates before asking your scheduling group which should have been done before coming here.
Back to top
View user's profile Send private message
anandgbe

New User


Joined: 03 Mar 2016
Posts: 14
Location: India

PostPosted: Mon Mar 07, 2016 8:26 pm
Reply with quote

I discussed with my Team mates already.

As suggested by you, Contacted Scheduling Team just now, Waiting for their reply.

As I am not a part of Scheduling tea, I don't know what IEHPROPHET do?
Lets Scheduling team handle it.

Thanks all for your precious time.

Sure I will update my solution once I got reply.

Please let me know any more details needed.
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7311
Location: Inside the Matrix

PostPosted: Mon Mar 07, 2016 9:07 pm
Reply with quote

IEHPROPHET is a joke.

If you take of the standard prefix, IEH, you get PROPHET.
Back to top
View user's profile Send private message
Anoop Chandran1984

New User


Joined: 14 Oct 2015
Posts: 5

PostPosted: Mon Mar 07, 2016 9:12 pm
Reply with quote

It sounds like "May be" condition in Control-M might help you.

It adds an In Condition only if the predecessor job exist else it ignores the condition.

So whenever Job A(month end one) is scheduled,Job B would wait on it,on other days Job B runs without waiting on Job A.

Anyways,the scheduling team that you have already contacted would be able to help you.

Thanks,
Anoop
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts Process file after 7 days of hold All Other Mainframe Topics 4
No new posts CA7 - Monthly job schedule CA Products 5
No new posts Daily report to be extracted from CA ... DFSORT/ICETOOL 5
No new posts How LOAD PROGRAM and LOAD on HOLD is ... CICS 4
No new posts How to place the HOLD ? CA Products 3
Search our Forums:

Back to Top