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
 
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: 4650
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
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts Regarding time parameter shanthi gude JCL & VSAM 7 Mon Sep 04, 2017 2:31 pm
No new posts Paasing symbolic parameter to instrea... Robert Sample JCL & VSAM 2 Thu Jul 27, 2017 1:22 pm
No new posts Changeman get multiple "Browse C... elixir1986 Compuware & Other Tools 4 Fri Jul 14, 2017 1:48 am
No new posts JTS parameter Shashank Chaubey JCL & VSAM 2 Thu Jul 13, 2017 4:15 pm

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