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 

any other way to restart the job other then RESTART Stateme

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


Joined: 27 May 2006
Posts: 23
Topics: 13
Location: Pune

PostPosted: Thu Dec 24, 2009 2:01 am    Post subject: any other way to restart the job other then RESTART Stateme Reply with quote

Hi Friends

Can anyone suggest Is there is any other way to restart the job other then RESTART Statement in JCL Rolling Eyes
I want restart from step3 without executing the step2 or assume step1& step2 exectuted success or failed. I want to restart from step3 directly

Is it possible ,please sugget

for Example
job1 job (sathis,xx),MSGCLASS = A
Step1 EXEC PGM =P1
Step2 EXEC PGM =P2
Step3 EXEC PGM =P3
Step4 EXEC PGM =P4
Step5 EXEC PGM =P5

Thanks in advance
Nithisha
Back to top
View user's profile Send private message AIM Address
Anuj Dhawan
Intermediate


Joined: 19 Jul 2007
Posts: 298
Topics: 7
Location: Mumbai,India

PostPosted: Thu Dec 24, 2009 5:10 am    Post subject: Reply with quote

Is it an interview question?
_________________
Regards,
Anuj
Back to top
View user's profile Send private message
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Thu Dec 24, 2009 5:35 am    Post subject: Reply with quote

Use IEBEDIT?
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: Thu Dec 24, 2009 7:56 am    Post subject: Reply with quote

Without editing the JCL or introducing a restart control facility you cannot. A job will start at the first step or the RESTART= step.
_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
Terry_Heinze
Supermod


Joined: 31 May 2004
Posts: 391
Topics: 4
Location: Richfield, MN, USA

PostPosted: Sat Dec 26, 2009 12:47 am    Post subject: Reply with quote

If editing the JCL is allowed, add IF/THEN/ELSE/ENDIF statements to the 1st 2 steps to bypass processing those and begin at STEP3. Or simply temporarily delete the 1st 2 steps.
_________________
....Terry
Back to top
View user's profile Send private message Send e-mail
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Sat Dec 26, 2009 6:45 am    Post subject: Reply with quote

or exclude the two steps (xx thru xx as line command)
and SUBNX
_________________
Dick Brenholtz
American living in Varel, Germany
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