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..........
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / hema
Restart the Job from second step. Suppress the Third step
using the condition code.
| Is This Answer Correct ? | 4 Yes | 1 No |
How jcl is used for testing batch programs?
I have a JCL which 20 steps. How do I execute 17 th step alone (It should execute only 17ths tep.and it should not execute 18,19,20 steps??
9 Answers IBM, Infosys, TCS, Xansa, Xchanging,
lines(1,cancel)??What is meant by that??Plz explain it....
what is the function of iebcompr?....is it compare record length or characteristics of a dataset?...pls explain with examples.......
What is the use of ikjeft1b utility in jcl?
How do you restart a step in JCL?
In a JCL if previous steps return code is greater than 0 or 4 then the next step will not execute. But the job will be successfull with the maximum return code. How can we reset this maximum return code to '0' regardless of return codes of any steps?
Write a jcl to execute a job by 7 a.m on Jan 20,1986 ?
If your job fails at particular step then what would be the return code for next steps
What is the difference b/w the CLASS,TIME,PRTY in jcl job card.
how to solve u4038 abbend?........
We have an output dataset in job with disp parameter as SHR. Can we write data in that file dataset?