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
 

 

Dependency in between two job flows

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

Active User


Joined: 28 Aug 2006
Posts: 110

PostPosted: Thu Aug 21, 2008 8:17 pm    Post subject: Dependency in between two job flows
Reply with quote

Hi,

I have two job flows scheduled in CA7. Both job flows have 100s of jobs.
I want to set a dependency in between two like both should not execute at the same time.
If 1st job flow is kicked off then 2nd job flow should wait until 1st completes.
This can be vice versa..
first 2nd job flow can run then 1st can be kicked off when 2nd job flow completes.


Please advice.
Back to top
View user's profile Send private message

Srinivasa Rao

New User


Joined: 21 Jun 2005
Posts: 75

PostPosted: Thu Aug 21, 2008 8:44 pm    Post subject:
Reply with quote

The two jobs should be exclusive to eachother. Add the jobs in predecessor/successors with exclusive mark '/' to each job. it would be ok.
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: Fri Aug 22, 2008 12:04 pm    Post subject:
Reply with quote

Are you saying that the second string of jobs can not execute until each and every job in the first string has completed ?

Looks to me that you have a rather badly designed batch suite to me, and time would be better spent in sorting that out rather than just delaying jobs.

But if we had more information ....................
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Fri Aug 22, 2008 2:03 pm    Post subject: Re: Dependency in between two job flows
Reply with quote

Hi,
surya_pathaus wrote:
If 1st job flow is kicked off then 2nd job flow should wait until 1st completes.
IF..??

This is not the way schedulers work on - Either the JOB is "predecessor" or "Successor"; once a JOB is sechduled as a "predecessor" it'll always execute before other JOB (or vice-versa) unless you have two different sechduler events which load the same JOBs. But even if this is your case, they need to be sechdule right way & one is always a predecessor or successor..

Well, yes I need to echo Expat -
Quote:
.. if we had more information
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Fri Aug 22, 2008 4:39 pm    Post subject: Reply to: Dependency in between two job flows
Reply with quote

as a general point tws lets the user define special resources, with the use attribute ( shr or exclusive ),
and that' s just what they are for... to allow independent job flow not to have any clash

special resources are arbitrarily chosen strings in the format of a ddname


http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/eqqtps00/6.4.2.1?ACTION=MATCHES&REQUEST=exclusive+resource&TYPE=FUZZY&SHELF=EQQTBK00.bks&DT=20020717115818&CASE=&searchTopic=TOPIC&searchText=TEXT&searchIndex=INDEX&rank=RANK&ScrollTOP=FIRSTHIT#FIRSTHIT

I guess that ca/7 as a competitor of tws might provide the same facility

apart the current environment where having 100's of jobs on wait should be reviewed
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 Is it possible to have a relative tim... HammerTime IBM Tools 6 Fri Jan 16, 2015 9:20 pm
No new posts Auto Job dependency Drawing tool for OPC airan002 IBM Tools 1 Sat Aug 16, 2014 1:17 am
No new posts Automating the job flows by using the... chandrupegasus All Other Mainframe Topics 10 Mon Jul 01, 2013 3:48 pm
No new posts Negative Dependency sprikitik JCL & VSAM 21 Wed May 23, 2012 8:49 pm
No new posts Instream Jobs submitted with dependency lovemorning JCL & VSAM 8 Thu Jan 21, 2010 8:08 am


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