Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 8732
Location: Welsh Wales

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: 8732
Location: Welsh Wales

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 Introducing new step in set of jobs ravikumar15 CLIST & REXX 6 Wed Oct 17, 2018 2:22 am
No new posts LOCKMAX Issue for BMP Jobs Gopinath Shanmugam IMS DB/DC 4 Thu Jul 19, 2018 8:12 pm
No new posts CA7 - Monthly job schedule Benchwarmer CA Products 5 Tue Apr 03, 2018 12:15 am
No new posts List of jobs ran thru scheduler ddhar All Other Mainframe Topics 1 Tue Mar 27, 2018 4:32 am
No new posts Conversion of DLI update Jobs as BMP ... Gopinath Shanmugam IMS DB/DC 3 Wed Dec 20, 2017 12:02 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us