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
 

 

USING "AFTER" parameter in JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
tamsmukh

New User


Joined: 24 Jan 2008
Posts: 5
Location: san antonio,Tx

PostPosted: Fri Feb 01, 2008 8:27 am    Post subject: USING "AFTER" parameter in JCL
Reply with quote

I have a job xxxxxx5 which should run only after jobs xxxxxx1 and xxxxx4 have completed. How can I add the dependancy for both the jobs in xxxxxx5 using AFTER parameter? Currently the code is like this:

//xxxxxx5 job (10280it000000,xx,1234),'tso-ml-time',
// CLASS=X,MSGCLASS=J,NOTIFY=TXMV123
//*
/*JOBPARM L=99
//*
//*
/*AFTER xxxxxx1
//*
//CNTLR EXEC BTSL
//*
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Fri Feb 01, 2008 10:28 am    Post subject: Reply to: USING "AFTER" parameter in JCL
Reply with quote

Well, since /*AFTER isn't a JCL parameter, may I ask what it's relevance/function is?
Back to top
View user's profile Send private message
tamsmukh

New User


Joined: 24 Jan 2008
Posts: 5
Location: san antonio,Tx

PostPosted: Sat Feb 02, 2008 12:39 am    Post subject:
Reply with quote

If we code this parameter , then whatever jobname is mentioned in the parameter, our job will get executed only after the jobname mentioned in the parameter has finished executing.
In the above example xxxxxx5 will execute only after xxxxxx1 has finished executing.This way we can set dependancy of one job on another.
Back to top
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Sat Feb 02, 2008 12:42 am    Post subject:
Reply with quote

Hello,

It sounds like this may be something that is part of your scheduling system.

I'd suggest you talk with your scheduling people to see if what you want to do is possible and if so, how to define it.
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Sat Feb 02, 2008 12:45 am    Post subject:
Reply with quote

I haven't seen the /*AFTER in many years, I think it is a local JCL addition. From what I can remember it could only apply to 1 job and that job had to executing or a least in the queue before your job was submitted.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DDNAME parameter mistah kurtz JCL & VSAM 6 Mon Dec 19, 2016 4:41 pm
No new posts Execessive parameter issue Sumeendar JCL & VSAM 5 Mon Dec 19, 2016 4:35 pm
No new posts TOT & DATE parameter in ICEMAN hemanthj642 DFSORT/ICETOOL 4 Mon Nov 14, 2016 5:19 am
No new posts Amount field is getting corrupted whe... thesumitk SYNCSORT 5 Tue Oct 18, 2016 8:20 pm
No new posts How to display value of an exit param... lind sh CICS 2 Sun Oct 09, 2016 12:28 pm


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