ALLInterview.com :: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Google
   
 
Categories >> Software >> MainFrame >> IBM MainFrame >> JCL
 
 


 

 
 COBOL interview questions  COBOL Interview Questions (847)
 JCL interview questions  JCL Interview Questions (700)
 CICS interview questions  CICS Interview Questions (447)
 DB2 interview questions  DB2 Interview Questions (667)
 IMS interview questions  IMS Interview Questions (79)
 IDMS interview questions  IDMS Interview Questions (6)
 Natural interview questions  Natural Interview Questions (39)
 ADABAS interview questions  ADABAS Interview Questions (7)
 REXX interview questions  REXX Interview Questions (21)
 Assembler interview questions  Assembler Interview Questions (29)
 CLIST interview questions  CLIST Interview Questions (1)
 QMF interview questions  QMF Interview Questions (4)
 MVS interview questions  MVS Interview Questions (11)
 OS390 interview questions  OS390 Interview Questions (9)
 OS 2 interview questions  OS 2 Interview Questions (0)
 VSAM interview questions  VSAM Interview Questions (177)
 QSAM interview questions  QSAM Interview Questions (3)
 Sysplex interview questions  Sysplex Interview Questions (5)
 IBM MainFrame AllOther interview questions  IBM MainFrame AllOther Interview Questions (128)
Question
How do you restart a step in JCL?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How do you restart a step in JCL?
Answer
# 1
Use RESTART=step name. 
Is This Answer Correct ?    66 Yes 14 No
Guest
 
  Re: How do you restart a step in JCL?
Answer
# 2
restart = jobstepname.procstepname
eg :jcl
if we need to restart from step2 in the proc...

//job1 job
restart=s1.step2
//s1 exec proc1
....

proc:
//proc1 proc
//step1 exec=...
//step2 exec=...
//step3 exec=...
 
Is This Answer Correct ?    71 Yes 17 No
Sv
 
 
 
  Re: How do you restart a step in JCL?
Answer
# 3
restart = proc step.step 
Is This Answer Correct ?    8 Yes 26 No
Guest
 
  Re: How do you restart a step in JCL?
Answer
# 4
Restart = Procstep.stepname 
Is This Answer Correct ?    29 Yes 12 No
Manas Mohapatra Uradha
 
  Re: How do you restart a step in JCL?
Answer
# 5
//JOBNAME JOB ACCT,RESTART=PROCA.STEP2
//PROCA EXEC PROCA

PROCA:

//PROCA PROC

//STEP1 EXEC ...
//STEP2 EXEC ...
//STEP3 EXEC ...

The above program would restart the job from STEP2.
 
Is This Answer Correct ?    39 Yes 2 No
Izwarya
 
  Re: How do you restart a step in JCL?
Answer
# 6
Suppose there are 10 steps in a jcl,i need to execute form
the step5 to step10(need not execute from step1 to step4)
in that case i suppose to use restart.

ex:
//JOBNAME JOB ACCT,RESTART=PROCA.STEP5

//PROCA EXEC PROCA

PROCA:

//PROCA PROC

//STEP1 EXEC ...
//STEP2 EXEC ...
//STEP3 EXEC ...
//STEP4 EXEC ...
//STEP5 EXEC ...
//STEP6 EXEC ...
//STEP7 EXEC ...
//STEP8 EXEC ...
//STEP9 EXEC ...
//STEP10 EXEC ...
 
Is This Answer Correct ?    32 Yes 6 No
Santosh
 
  Re: How do you restart a step in JCL?
Answer
# 7
Use RESTART=step name.

for procs:
restart = jclstepname.procstepname
jclstepname:name of the jcl step which invoke the proc.
Procstepname : the prostep which you want to restart.
eg :jcl
if we need to restart from step2 in the proc...

//job1 job restart=s1.step2
//s1 exec proc1
....

proc:
//proc1 proc
//step1 exec=...
//step2 exec=... -----Here we are going to execute step2
//step3 exec=...

--- Hi SV, you given a awesome answer. keep it up.
-Sk.
 
Is This Answer Correct ?    22 Yes 2 No
Suputhru
 
  Re: How do you restart a step in JCL?
Answer
# 8
Without Procs.
Use RESTART=step name.

For procs:
restart = jclstepname.procstepname
jclstepname:name of the jcl step which invoke the proc.
Procstepname : the prostep which you want to restart.
eg :jcl
if we need to restart from step2 in the proc...

//job1 job restart=s1.step2
//s1 exec proc1
....

proc:
//proc1 proc
//step1 exec=...
//step2 exec=... -----Here we are going to execute
step2
//step3 exec=...
 
Is This Answer Correct ?    2 Yes 0 No
Rammurthy
 
  Re: How do you restart a step in JCL?
Answer
# 9
Use RESTART=JOBSTEPNAME.PROCSTEPNAME
Example:-

if the job is abended in STEP10 for proc step "TRANSFORM".

THEN,

RESTART=STEP10.TRANSFORM.

Thanks,
Divya Prakash
 
Is This Answer Correct ?    2 Yes 4 No
Divya Prakash
 
  Re: How do you restart a step in JCL?
Answer
# 10
RESTART=TRANSFORM.STEP10 
Is This Answer Correct ?    2 Yes 0 No
Xxx
 

 
 
 
Other JCL Interview Questions
 
  Question Asked @ Answers
 
What is the difference between sb37,se37,sd37 each? TCS 8
what is mainframe? CGI 3
What is a Generation Data Group (GDG)?   1
I have a job which is a long-running one. Processes millions of records. Due to some run-time problem (not a problem due to the job/data) the job abends.What needs to be done to make the job complete successfully. TCS 4
My requirement is : How to populate a empty PS/flat file with ONLY spaces in the first line. You should not use any input dataset to do this. I'm not sure whether you may use any utility for this purpose? HCL 2
What is the meaning of keyword in JCL? What is its opposite?   1
We have two PS files,want to compare those files and put the duplicate records in one file. Input file 1 contains(1,2,4,9,10) Input file 2 contains (1,4,5,11,12,14,16). Help me with jcl.   5
What is a procedure?   1
Can we give TIME = (1440, 59) also ? or is TIME = (1439, 59) is the last one ? IBM 5
What is the difference between joblib and jcllib statements Maples 7
I have 255 procedures in a job, each procedure contain 2 steps.can we execute this job?   2
In DCB, what is LRECL,BLKSIZE,DSORG TCS 1
 
For more JCL Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com