i have a jcl calling proc which has 10 steps, i want to
execute from step5 to step10, where can i code RESTART and
COND parameter?

Answers were Sorted based on User's Feedback



i have a jcl calling proc which has 10 steps, i want to execute from step5 to step10, where can i c..

Answer / anoop

//jopbcard,restart=jobstep.procstep

in this case job is calling one proc, this proc has 10
steps. We want to restart job from 5th step of proc.

assuming job calls proc in step1. then restart should be :-

restart=step1.step5

Is This Answer Correct ?    2 Yes 0 No

i have a jcl calling proc which has 10 steps, i want to execute from step5 to step10, where can i c..

Answer / siri

//jobname job ,,,,,,,,restart=step5.proc,cond=(00,gt)

Is This Answer Correct ?    0 Yes 0 No

i have a jcl calling proc which has 10 steps, i want to execute from step5 to step10, where can i c..

Answer / raghu

we have to code restart parametr on job stmt and code cond on
step level
eg//jooob1 ------------------- restart=stepname.procname

Is This Answer Correct ?    0 Yes 0 No

i have a jcl calling proc which has 10 steps, i want to execute from step5 to step10, where can i c..

Answer / jalal

1) Put restart = step5 in the job card.
2) Put Cond = only in all the steps from step1 to step4.

Is This Answer Correct ?    2 Yes 3 No

i have a jcl calling proc which has 10 steps, i want to execute from step5 to step10, where can i c..

Answer / rakesh w

//jopbcard,restart=procstp.step5
//procstp exec proc1
//....


i.e restart=procstep.stepname

correct me if i am wrong

Is This Answer Correct ?    1 Yes 2 No

i have a jcl calling proc which has 10 steps, i want to execute from step5 to step10, where can i c..

Answer / ch.mohan

w




we can mention job card to restart=step5
and cond param used to step6

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More JCL Interview Questions

Please explain with syntax and an example, the Inrec fields and Outrec build in sort.

4 Answers   CTS, TCS,


How I sort the records in a file and copy the first 10 records to another file

5 Answers  


I have 15 flat files. each record in the files have the monthly salary for 12 months with the employee number. Now I want to concatenate the 15 files such that for the employee numbers that are common the o/p file should have only one record and the salaries should be concatenated to that record. How can we do it with JCL?

1 Answers  


what are the ways of passing data to a cobol program from jcl?

1 Answers   IBM,


What is the difference between sb37,se37,sd37 each?

9 Answers   TCS,






Why do you use a control card?

3 Answers   IBM, iNautix,


How to submit multiple jobs. These jobs are members in PDS. The second job should run if the first job runs successfully and so on.

1 Answers  


1) max no of steps with jcl job can execute 2) how many extentions r possible in sequencial files with job 3) what is set parameter will do 4)how to get syntax errors without sub 5) what is differ between error and abend 6) hw mvs knows who submitted the job and whoom it has to forward 7) what are the positinal parameters of data descripter

1 Answers   L&T,


i have a jcl in which 4 & 5 step creates a new generation. 4th step output is as input for the 6th step & 5th step output is used as input in the 7th step. How they are refered as in the 6th & 7th steps? If the job abends in 6th step then how the 5th step output is refered in 7th step?

2 Answers   IBM,


Explain about REXX

1 Answers  


how can the same proc be re-used and called by many jobs?

0 Answers   IBM,


how to run JCL thru COBOL.

1 Answers   Patni,


Categories