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 / kislay

restart=procname.step5

Is This Answer Correct ?    12 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 / karthikeyan

in job card itself you can give this
restart=procname.step5

Is This Answer Correct ?    8 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 / rajkanya

The RESTART parameter can be coded at JOB CARD level as:
RESTART=PROCNAME.STEPNAME ( in this case STEP5 )
and the COND parameter can be coded at both JOB and STEP
level. At STEP5, as:
//STEP5 EXEC PGM=.....,COND=EVEN
COND=ONLY it allows step execution if any prior step is
ABENDED
COND=EVEN it allows step execution even if the prior step
is ABENDED

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 / raghu

restart= stepname.proc

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More JCL Interview Questions

In how ways you can pass the data from Jcl to cobol ?

3 Answers   Cap Gemini, IBM,


1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat

1 Answers   Tesco,


how to code instream data in procedure?

3 Answers  


Can a job have only steplib and no joblib ?

6 Answers  


Write a jcl to execute a job by 7 a.m on Jan 20,1986 ?

5 Answers   Maples, Patni, TCS,


Can we create VSAM file by using IEBGENER?

4 Answers   Principal Finance,


What are the parameters that are used in creating a gdg?

0 Answers  


how to set dependancy for jobs?

4 Answers  


Does jcl support automatic restart?

0 Answers  


In job processing, what happens in execution stage?

0 Answers  


how to compare two datasets without using superce because output is limited to 133 bytes

0 Answers  


how can i use the parameters decalred in main pgm in sub pgm

2 Answers   TCS,


Categories