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 

Need to execute only one step in between the steps in a job

 
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
vraki
Beginner


Joined: 07 Jun 2006
Posts: 11
Topics: 7
Location: India

PostPosted: Mon May 26, 2008 1:14 am    Post subject: Need to execute only one step in between the steps in a job Reply with quote

There are five steps in a job. Out of that only third step needs to execute and i don't want other steps to execute. Please reply me the solution for this.
_________________
Raki
Back to top
View user's profile Send private message
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Mon May 26, 2008 4:54 am    Post subject: Reply with quote

Use condition codes - see the manual for COND= and IF/THEN/ELSE. Also, I think this exact question was asked a few months ago so do a search in this forum.
Question: If you only want to execute one step why have the others. If this is a one off then just copy the step into a one-off job.
_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
slade
Intermediate


Joined: 07 Feb 2003
Posts: 266
Topics: 1
Location: Edison, NJ USA

PostPosted: Mon May 26, 2008 10:17 am    Post subject: Reply with quote

You can code restart=yourstep,cond=(0,le) in the job card.
_________________
Regards, Jack.

"A problem well stated is a problem half solved" -- Charles F. Kettering
Back to top
View user's profile Send private message
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