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

How to set the CA7 schedule set of jobs ?


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

New User


Joined: 09 May 2005
Posts: 30
Location: Hyderabad

PostPosted: Wed Apr 10, 2013 12:13 pm
Reply with quote

Hi All,
I have 10 jobs, which run COBOL-IMS programs. Details of the scenario is below.

Job1 triggers 9 jobs, i.e., Job2 - Job10. All the jobs Job2 - Job10 reads and/or update IMS database. Problem is that, as they trigger at a time and access the same PSB at a time, Deadlocks are happening frequently.

NOTE: All the jobs Job2 - Job10 takes around 10 to 20 sec as of now for the complete execution.


CA7 has no dependency aong the jobs Job2 - Job10.

I would like to set the dependency among the jobs Job2 - Job10, in such a way that, only one job from the set Job2 - Job10 should run at any time, rest should wait in the queue. Is there way to get it done in CA7. Is there any specific term to call this kind of scheduling?

Anyone have implemented this kind of dependency before ? Please share your experience. I would like to hear if there are any drawbacks.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Apr 10, 2013 1:30 pm
Reply with quote

Job1 triggers job2 which triggers job3 which triggers job4 ......... job10

Add dependencies so that job 3 will only run after job 2 etc etc

Add negative dependencies for job 2 against jobs3-10
Add negative dependencies for job 3 against job2 & jobs4-10

Ther you go, that you should be enough to get you reading the manuals

Don't ask me how to do that, I'm using TWS(OPC) at the moment
Back to top
View user's profile Send private message
venkata.ravi

New User


Joined: 09 May 2005
Posts: 30
Location: Hyderabad

PostPosted: Wed Apr 10, 2013 2:08 pm
Reply with quote

Hi expat,

Thanks for your response. I was also thinking of negative dependencies.

Can you please confirm, Will there be any performance issues with introduciton of negative dependencies ?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Apr 10, 2013 2:17 pm
Reply with quote

Why should there be ?

Although I would favour a streamed approach which makes any further job additions / deletions easier.

If you add a new job, then that has a dependency on job 10
If you remove a job then you only need to change the dependency of the job that follows the removed job

Using negative deps, when you add a new job to the app, then you may need to change the dependency setup for EVERY existing job
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Wed Apr 10, 2013 3:10 pm
Reply with quote

venkata.ravi wrote:
Can you please confirm, Will there be any performance issues with introduciton of negative dependencies ?
So far what you've described - with that, there should not be any performance issues. OTOH, what "performance issues" you think might be there?

This link might also interest you.
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 Finding and researching jobs All Other Mainframe Topics 0
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts Help in Automating Batch JCL jobs mon... JCL & VSAM 3
No new posts Submit multiple jobs from a library t... JCL & VSAM 14
No new posts Ca7 long running jobs report All Other Mainframe Topics 1
Search our Forums:

Back to Top