MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Technique for before and after execution in non production

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
BobGilbert
Beginner


Joined: 12 Sep 2006
Posts: 24
Topics: 10

PostPosted: Thu May 07, 2009 9:41 am    Post subject: Technique for before and after execution in non production Reply with quote

Ok, the scheduling packages can handle order of execution. We have had a product DJC which is being removed. It is married to Jes and basicaly is unsupported, plus I believe it has been kicked out of JES by IBM.

My question is what techniq can be given to users in the test enviornment to ensure jobs run in a particular order. With DJC you just use a /*BEFORE JOB or /*AFTER card. I know longtime users are going to scream and not want to make major changes...ideas?

Thanks,
Bob Gilbert Exclamation
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Thu May 07, 2009 10:06 am    Post subject: Reply with quote

BobGilbert,

Add the following as the last step to all jobs. This will ensure all jobs run in the order you want to run

Code:

//STEP0010 EXEC PGM=IKJEFT01           
//SYSUDUMP DD SYSOUT=*                 
//SYSTSPRT DD SYSOUT=*                 
//SYSOUT   DD SYSOUT=*                 
//SYSTSIN  DD * 
SUB 'MY.JOB.PDS(nextjob)'
//*

_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
BobGilbert
Beginner


Joined: 12 Sep 2006
Posts: 24
Topics: 10

PostPosted: Thu May 07, 2009 10:30 am    Post subject: Reply with quote

Interesting....I suppose could could create a proc and users only need pass the dataset name ..one line?
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Thu May 07, 2009 11:20 am    Post subject: Reply with quote

BobGilbert,

Yes. You can even use symbolics

Code:

//LASTSTEP EXEC PGM=IKJEFT01,
//             PARM='SUBMIT MY.JOB.PDS(nextjob)'
//SYSTSPRT DD SYSOUT=*

_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group