My JCL contains four steps
//STP1 A(+1), DISP = NEW
//STP2 A(+2), DISP = NEW
//STP3 A(+3), DISP = NEW
//STP4 A(+1), DISP = OLD
STP3 was abended and I want restart my JCL from STP3 onwards
& what are the precaution I want to take & what are the
changes I need to make. Pls let me know.
Answers were Sorted based on User's Feedback
Answer / thavasi
Since STP1 and STP2 are completed... u need to override the
GDG versions for STP3 and STP4 as you want to restart from STP3.
//STP3.OUTDD A(+1),DISP=NEW
//STP4.INDD A(-1),DISP=OLD
| Is This Answer Correct ? | 13 Yes | 4 No |
Answer / divakar
you writing restart=step03in joblevelor activity level
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / naveenkumar m
For example:
if the code executes without any issues the following will be created
step 1 creates G001V00 (A(+1)), DISP=NEW
step 2 creates G002V00 (A(+2)), DISP=NEW
Step3 Creates G003V00 (A(+3)), DISP=NEW
Step4 utilizes G001V00 as DISP is OLD and we refer A(+1) here.
so whatever the content created in step 1in G001V00 will be replaced by the content created in step4.
When the job fails, G001V00 and G002V00 are already created.
so when you restart the step3 you should replace the file (+3) by (+1) in step3 as now the current version is G002V00 not G001V00.
if you don't change the version (+1) that means that you are referring to G003V00 which is created in step3.
Actual code is replacing the file in step1 not step3.
So you need to replace the file version in step 4 from (+1) to (-1). so that it will refer the file created in step1.
Hope this is very clear.. if you don't get even now, feel free to email @ mndlsoft@gmail.com
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / lalit
you just need to do
//STP3 A(+1), DISP = NEW
as this is the latest generation which is going to create
once you restart the job from this step...
| Is This Answer Correct ? | 1 Yes | 5 No |
01 GROUP-ITEM 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP MOVE ZERO TO GROUP-ITEM ADD 50 TO AMOUNT-1 what will be the content of AMOUNT-1? a.50 b.100 c.0 d.unpredictable
if in a job, region is mentioned in both jobcard and in step then which is cosidered at the step level? A job has region 4k in jobcard and step1 with region 0k and step2 with 16k, then what is the region allocated for the entire job? what is the region step1 takes? what is the region step2 takes?
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?
Why we will create load module in PDS only, Why nt in PS?
In My job I have 15 procs.and in each proc i have 3 steps. i want to execute 3 step in proc 10.is it possible? if possible how?
How to print data of sequential file to Spool..?
Explain about LMMFIND - find a library member
hi friends........if u know syntax of IEBEDIT IN JCL
what happens in execution stage in job processing?
Explain dd statement in jcl?
how to see the latest generation in gdg?
What are the default system and catalog libraries in JCL?