My JOB contains three steps.
//STEP1 EXEC PGM=ABC
//STEP2 EXEC PGM=DEF
//STEP3 EXEC PGM=GHI
My Question is
1) I want to execute second step only. How will do.
2) Soppose U consider above three steps are in PROC steps
and I want execute the PROC second step only?
How to execute the second step only. During exection
time its creating any ABEND?
Please let me know..........
Answer Posted / sandy
Question no.1
-------------
Code RESTART=STEP02,COND=(0,LE) in the job card
Question no.2
-------------
Code RESTART=PSTEP1.STEP02,COND=(0,LE) in the job
card.PSTEP1 is the step executing PROC.
| Is This Answer Correct ? | 14 Yes | 1 No |
Post New Answer View All Answers
Does jcl support automatic restart?
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
What parameter directs the output of the job log dataset?
How does jcl specify the job to the operating system?
Why include statement is used in a jcl?
What is the purpose of dd?
Matching Logic in Jcl not in cobol.Could any one please answer this question
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?
Can I share my data with other jobs? How?
What are the 4 fields in dd statement?
What are the 2 types of parameters in dd statement?
how can the same proc be re-used and called by many jobs?
How does jcl act on code(if you take a cobol program)?
what is DD statement is used in JCL?
How would you understand error(execution phase)?