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

Job Scheduler Tool- Like OPC, Zeke, CA7


IBM Mainframe Forums -> IBM Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
aajakashif

New User


Joined: 22 Mar 2008
Posts: 27
Location: New Delhi

PostPosted: Tue Jun 08, 2010 1:36 am
Reply with quote

Ques: There is a Job XYZ which has got a Pred ABC, ABC is not in the current scheule at XYZ is wating for its dependancy (on ABC) and its unable to run.
Now, if a user request to run the Job ABC as a adhoc run with no dependancy on any job, after the ABC completes with RC=00, is it going to trigger Job XYZ ???

Just to repharase: XYZ is not running because its dependancy is not fulfilled (as XYZ is dependant on its pred ABC), If we run job ABC from outside schedule ( i.e- as a adhoc run with no succ and pred), Is it going to trigger Job XYZ once ABC is completed ???
Back to top
View user's profile Send private message
rahulgarg14

New User


Joined: 16 Apr 2007
Posts: 10
Location: gurgaon - india

PostPosted: Thu Jun 17, 2010 2:08 pm
Reply with quote

Not clear, Because the triggering job of XYZ is not mentioned. If ABC is only a predator for XYZ, the job XYZ will not trigger unless the triggering job of XYZ will not be completed.
Back to top
View user's profile Send private message
sriram.mukundan

New User


Joined: 20 Nov 2007
Posts: 28
Location: chennai

PostPosted: Thu Jun 17, 2010 2:48 pm
Reply with quote

As i understood from your statement,
XYZ is dependent on ABC, where ABC is not in the current scheduler and it lies outside the scheduler as an adhoc job and also ABC is not listed under any scheduler.

I'm considering OPC application as the scheduler.

See if ABC is not in the current application atleast it should be listed under a separate application which can be inside or outside the system. But XYZ job should contain the some correlation(dependency) details corresponding to ABC inside it.

So ABC job should be listed as separate OPC application. and dependency has to be set in the XYZ saying it is depending on ABC job.

And one more when u do an adhoc run, it no way triggers the JOB XYZ listed under any OPC application.

Hope i answered your question.
Back to top
View user's profile Send private message
aajakashif

New User


Joined: 22 Mar 2008
Posts: 27
Location: New Delhi

PostPosted: Mon Jun 21, 2010 5:36 am
Reply with quote

Hi Sriram, Thanks for taking such pain to understand my question.
Well, Im so sorry, I've not used right kind of words (termonologies)...

I meant:

ABC job is not in the current plan of today and ABC is defined as a Pred of XYZ in the database. ABC might be in different application which is not loaded today in the current plan.

My 1st question here is:
For instance suppose ABC is not loaded today in the current plan, so is it going to affect XYZ : i.e- Is XYZ going to run today???, because its pred ABC is not in the current plan and it is not completed also.

My 2nd question considering the same senario mentioned above:
If the user request to run ABC (which is not in the current plan) as a adhoc run with no dependancy (no pred and no successor). So running ABC with no dependancy going to affect XYZ.
i.e- Is it going to trigger XYZ, even though we have ran ABC with no dependancy???
(Because I think Job XYZ is waiting for the completion of ABC, so as soon as ABC completes XYZ would be triggered)...but Im not sure...

Please help me out....
Back to top
View user's profile Send private message
sriram.mukundan

New User


Joined: 20 Nov 2007
Posts: 28
Location: chennai

PostPosted: Mon Jun 21, 2010 9:43 am
Reply with quote

Very Good morning ..!!!

Answer for the 1st question:

Dependency you will set only when the pred job o/p is used as input to the successor program or for some validation purpose we have set this ABC as a predecessor job based on the business requirement.

Let us consider your example.

ABC is not loaded in the current plan or if it didnt run today or if it didnt get completed. then its for sure XYZ won't run as we have set the dependency for this.

One more case is, say ABC job failed due to some reasons, support team or some other team fixed the defect and run it is an ADHOC run, then XYZ can be trigerred by informing the operator to mark 'C' against the job ABC which you set as dependency for the job XYZ and Running the application that contains the XYZ will trigger the XYZ job.

Step-1 XYZ APPLICATION
JOB STATUS
---- -----------
ABC S(started)
XYZ W (waiting)

Step-2 XYZ APPLICATION
JOB STATUS
---- -----------
ABC E (error)
XYZ W (waiting)


Step-3 XYZ APPLICATION
JOB STATUS
---- -----------
ABC C (mark as completed inside the XYZ application)
XYZ R (ready) and then S(started) and finally C (completed)

When you mark "C" in the first job saying ABC job is completed, because you have done an adhoc run, so and so fields or files are updated properly, OPC will automatically turn the status of the job to 'R' when you come out of the application, the job will running in the spool area and once it is completed the entire application status will be marked as 'C'

Application name status
--------------------- ----------
XYZ application C


Answer for the second question is also explained in the scenario.
Back to top
View user's profile Send private message
aajakashif

New User


Joined: 22 Mar 2008
Posts: 27
Location: New Delhi

PostPosted: Mon Jun 21, 2010 7:53 pm
Reply with quote

I get it. Thank You Sriram, are of great help !!
Back to top
View user's profile Send private message
sriram.mukundan

New User


Joined: 20 Nov 2007
Posts: 28
Location: chennai

PostPosted: Tue Jun 22, 2010 8:57 am
Reply with quote

Your most welcome aajakashif icon_smile.gif
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 -> IBM Tools

 


Similar Topics
Topic Forum Replies
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts OPCP scheduler questio IBM Tools 0
No new posts Mass JCL release via IDZ tool(eclipse... CA Products 1
No new posts How can I select certain file dependi... JCL & VSAM 12
This topic is locked: you cannot edit posts or make replies. How can I select certain file dependi... Compuware & Other Tools 1
Search our Forums:

Back to Top