GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  Mainframe  >  JCL
Go To First  |  Previous Question  |  Next Question 
 JCL  |  Question 8 of 126    Print  
What is RESTART? How is it invoked?
RESTART is a JOB statement keyword. It is used to restart the job at a specified step rather than at the beginning.


  
Total Answers and Comments: 3 Last Update: September 28, 2007   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
September 23, 2005 01:20:57   #1  
Anilkumar_Manepalli Member Since: September 2005   Contribution: 1    

RE: What is RESTART? How is it invoked?

Used to indicate the step, procedure step or checkpoint at which the system is to restart the job.

Syntax: RESTART=STEPNAME

If the step we, which we want to restart is in a procedure then we have to mention the procedure name also before the stepname in the restart instruction.

Syntax: RESTART=PROCEDURE-NAME.STEPNAME


 
Is this answer useful? Yes | No
October 11, 2005 19:51:24   #2  
Saradha        

RE: What is RESTART? How is it invoked?

RD=R (Restart, Checkpoint allowed)à  is to restart AUTOMATICALLY from the previous check point if the job
abended  .  

RD=RNC (Restart, No Checkpoints allowed) à  job suppresses from executing  AUTOMATICALLY. The operator had to do it.

RESTART = * à Restart the job from the beginning.

RESTART = Stepname à Restart from specified STEP to end of the job.

RESTART = procStepName.Stepname à Restart from the specified PROC step.

If u wanted to execute only one particular step. Remove ‘*’ from ‘//*’ after the Step and submit the job:

//jobname JOB ……RESTART = Step2

//Step1  EXEC PGM=pgm1

//Step2  EXEC PGM=pgm2

//         

//Step3 EXEC PGM=pgm3

//Step4 EXEC PGM=pgm4

If u remove the ‘*’ from ‘//*’, the execution will stop at that point of the JCL. So in the above example only STEP2 will be executed.

Few Overrides:

RD, COND and REGION on JOB statement will override RD, COND and REGION on STEP statement.

STEPLIB and TIME for STEP statement will override JOBLIB and TIME on JOB statement.

 
Is this answer useful? Yes | No
September 28, 2007 05:30:43   #3  
sudhakar        

RE: What is RESTART? How is it invoked?
Restart is a keyword which is used in mainframes to restart the perticular step in the job at not the begining

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape