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 (448)
 DB2 interview questions  DB2 Interview Questions (668)
 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 ?    72 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 ?    40 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
 
Hi Guyz, My requirement is to empty out a PS file but not to delete. How would I do that. Is there any Utility. If any other way, plz answer. Thanks. Lehman-Brothers 9
A job has 90 steps i want to execute only step7 and step15 Cognizent 3
wht r different types of sorts ? L&T 1
How to change default PROCLIB?   1
can we copy a file from fixed block to variable block and vice versa ....asap   1
i) Difference between ps, esds, ii) Difference between lrecl, blksize among PS, PDS issues? i.e in jcl at dcb   2
Could you provide an example and its effect OF, Using COND on JOB and EXEC both ? IBM 4
What u mean by include statement in JCL ?   2
What is the max blocksize for a Tape file?   2
What is DYNAMBR in jcl? CTS 2
what is the general use of PARM? Give an explanation about the system defined parameters that could be passed through this PARM like XREF,LIST,LET,APOST,RENT etc.. Cognizent 3
how to code instream data in procedure?   3
 
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