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 set the CA7 schedule set of jobs ?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
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    Post subject: How to set the CA7 schedule set of jobs ?
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: 8593
Location: Back in jolly old England

PostPosted: Wed Apr 10, 2013 1:30 pm    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Wed Apr 10, 2013 2:17 pm    Post subject:
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

Senior Member


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

PostPosted: Wed Apr 10, 2013 3:10 pm    Post subject:
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    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 Determine Region with max bandwidth f... seahawk789 COBOL Programming 3 Mon Feb 27, 2017 8:26 pm
No new posts How to show message using batch jobs madprasy TSO/ISPF 7 Fri Sep 09, 2016 6:55 pm
No new posts Don't allow CICS to submit batch jobs prino JCL & VSAM 5 Mon Jul 25, 2016 3:26 pm
No new posts Predicting jobs which are about to re... kpanchabhai85 DFSORT/ICETOOL 4 Thu Jun 30, 2016 7:51 pm
No new posts How to find jobs that are in schedule... anilkumar922 All Other Mainframe Topics 5 Tue Jun 28, 2016 10:01 am


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