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

Issue about trigger successor jobs


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

New User


Joined: 09 Oct 2006
Posts: 36

PostPosted: Tue Jun 19, 2007 10:37 am
Reply with quote

pls link to this URL in "CA Product" sub-catalog:

ibmmainframes.com/viewtopic.php?t=21985

need your help, thank you!
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Jun 19, 2007 1:54 pm
Reply with quote

Hello,

I'd be glad to help, but i do not understand the request. Please clarify.
Back to top
View user's profile Send private message
coria

New User


Joined: 09 Oct 2006
Posts: 36

PostPosted: Tue Jun 19, 2007 3:11 pm
Reply with quote

thanks, dick.
As of now, we are scheduling 3 jobs, JOBA, JOBB and JOBC, we want to make JOBA & JOBB as the predecessor to JOBC. the schedule is done in CA-JOBTRAC 3.5.

below are the details of the schedule:

********************************************************************
JOBA ASAPS* Q JOBC WORKDAYS
JOBAA0950S*+1 ? WORKDAYS
********************************************************************
JOBB ASAPS* Q JOBC WORKDAYS
********************************************************************

this schedule is done through Q dependency, when JOBA completed, it will triger another job JOBAG which will remove the Q dependency of JOBA, then JOBC will be triggered by JOBA. (also i am not very clear about why this kind of approach is preferred, actually JOBA is to be triggered by a dataset which transferred(NDM) from another system) . the same as JOBB.

below is JOBAG job for your reference:
---------------------------------------------------------------------------
//JOBAG JOB (57-57),'JOBTRAC EOJ EQ',CLASS=Y,
// REGION=0M,MSGCLASS=P
//*
//* THIS WILL REMOVE THE Q DEPENDENCY FROM JOB JOBA TO TRIGGER JOBC AFTER AMR
//*
//JS001 EXEC PGM=GJTRABTR,REGION=3072K,
// PARM='STACK()'
//JOBTRACX DD DSN=SYSS.JOBTRAC.CHKPT,DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
MOD(JOB(JOBA) L(081) DEP (-Q))
/*
------------------------------------------------------

that is the case now, logically the 3 jobs would be running fine, but actually no, some times JOBC can be triggerred successfullly, sometimes not. we are obsessed by it now....

more information if you guys need pls let me know.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Jun 19, 2007 8:12 pm
Reply with quote

Hello,

I've moved your topic to CA-Products.
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 SFTP Issue - destination file record ... All Other Mainframe Topics 2
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 Issue after ISPF copy to Linklist Lib... TSO/ISPF 1
Search our Forums:

Back to Top