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

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.

6 Answers  


how to concatenate datasets

5 Answers   EDS,


I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.

0 Answers  


In Job, there are 10 steps. If I want to execute the first 6 steps and don't want to execute from 7th to 10th step. What is the solution for this ?

7 Answers  


WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move

0 Answers  


I have two files each contains 10 records. I would like to copy both files into one output file but in alternate sequence. for e.g. first record from file1 then record 2 from file2.....

3 Answers   RBS,


Is it possible to code instream data in a PROC?

0 Answers  


How to fetch even records from one file to another file by using ICETOOL in JCL?

3 Answers  


hi,i have joined in mainframe course recently. ihave a doubt ragarding restart parameter.what is d use of it. and what is d syntax for it. any one give me d answer pls.

3 Answers  


What is the function of a dd statement?

0 Answers  


what JCL Procedures?

0 Answers  


How to print data of sequential file to Spool..?

2 Answers  


Categories