Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to hold a daily job for a monthly job

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
anandgbe

New User


Joined: 03 Mar 2016
Posts: 4
Location: India

PostPosted: Mon Mar 07, 2016 12:59 pm    Post subject: How to hold a daily job for a monthly job
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: 1529
Location: Andromeda Galaxy

PostPosted: Mon Mar 07, 2016 2:23 pm    Post subject:
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: 4
Location: India

PostPosted: Mon Mar 07, 2016 2:34 pm    Post subject: Reply to: How to hold a daily job for a monthly job
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: 1529
Location: Andromeda Galaxy

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

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

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Mon Mar 07, 2016 2:46 pm    Post subject: Reply to: How to hold a daily job for a monthly job
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: 1715
Location: UK

PostPosted: Mon Mar 07, 2016 4:44 pm    Post subject:
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: 4
Location: India

PostPosted: Mon Mar 07, 2016 8:26 pm    Post subject: Reply to: How to hold a daily job for a monthly job
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7236

PostPosted: Mon Mar 07, 2016 9:07 pm    Post subject: Reply to: How to hold a daily job for a monthly job
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: 2
Location: USA

PostPosted: Mon Mar 07, 2016 9:12 pm    Post subject: Reply to: How to hold a daily job for a monthly job
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    IBMMAINFRAMES.com Support Forums -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Daily report to be extracted from CA ... polymathtarun DFSORT/ICETOOL 5 Mon Jul 11, 2016 4:33 pm
No new posts How LOAD PROGRAM and LOAD on HOLD is ... pkmurali CICS 4 Tue May 03, 2016 6:26 pm
No new posts How to place the HOLD ? raviudaya CA Products 3 Thu Aug 30, 2012 12:49 am
No new posts Cursor WITH HOLD option, gets closed ... genesis786 DB2 7 Fri Jul 06, 2012 6:22 pm
No new posts JOB submitted goes on HOLD even witho... Anuj Dhawan JCL & VSAM 10 Mon Feb 27, 2012 1:59 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us