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

Need input in Scheduling


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

New User


Joined: 16 Jul 2016
Posts: 22
Location: desk

PostPosted: Tue Jun 06, 2017 1:44 am
Reply with quote

Hello,

I have a job to be scheduled and would like to know whether my approach is right

Job A is a daily job runs around 6 AM

Job B is a job gets triggered by job A

Now I have to schedule job C which is triggered on only specific days and should be run between Job A and job C. Below are the steps I am planning to do

1. Schedule the job C as time triggered at 6 AM under different SCHIDs for each day
2. Add Job A with SCHID 000 as requirement to Job C
3. Add a virtual resource between Job C and Job B. This will make job B always wait for Job C to complete.

How this works?
My understating about the approach is, Job C always comes to queue and locks the virtual resource. At the same time waiting for job A to complete. This will ensure job C always runs second.

Thanks in advance.
Benchwarmer
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3051
Location: NYC,USA

PostPosted: Tue Jun 06, 2017 6:31 am
Reply with quote

How about talking to the scheduling people at your site?
Back to top
View user's profile Send private message
Benchwarmer

New User


Joined: 16 Jul 2016
Posts: 22
Location: desk

PostPosted: Tue Jun 06, 2017 9:38 pm
Reply with quote

Thanks for the reply.

I did speak to them and they are leaning towards user controls. Which I do not personally prefer because of the manual errors that happened in the shop previously.
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


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

PostPosted: Tue Jun 06, 2017 10:37 pm
Reply with quote

Why not have job C in its own SCHID with an external predecessor of job A and the tme dependency, and change job C in the existing SCHID to have an external predecessor of job C? Why special resources?
Back to top
View user's profile Send private message
Benchwarmer

New User


Joined: 16 Jul 2016
Posts: 22
Location: desk

PostPosted: Fri Jun 09, 2017 8:50 pm
Reply with quote

Quote:
Why special resources?
In my previous shop we always used the RM for negative dependency due to its advantage in handling ABEND situations.
Thanks for your suggestion, I am talking to CA7 support to identify a best solution. I will post it when I get one.


Edited to correct the quote.
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3051
Location: NYC,USA

PostPosted: Fri Jun 09, 2017 11:12 pm
Reply with quote

Yes but negative dependency won't ensure you C will run before B.
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 TRIM everything from input, output co... DFSORT/ICETOOL 1
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts force tablespace using LISTDEF input DB2 1
No new posts Two input files & writing counter... DFSORT/ICETOOL 12
No new posts Use input file with OMIT rcd keys? DFSORT/ICETOOL 15
Search our Forums:

Back to Top