I have a job which is a long-running one. Processes millions
of records. Due to some run-time problem (not a problem due
to the job/data) the job abends.What needs to be done to
make the job complete successfully.
Answers were Sorted based on User's Feedback
Answer / lvrajesh
@Ram,
This is the answer I too gave in the interview.
But the questioner reiterated it's going to abend.
So now thinking on,I get the below:
Restart the job with input having records which are not
processed.By looking at output we can be sure of uptill what
record it was processed. So using DFSORT extract the records
from the last processed one and pass it as i/p and restart
the job from there.
Please let me know your view on this and other possible
answers.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / rajveer
Above scenario holds true when o/p file is diff from driver i/p file. But what if i/p file is getting updated? In that case how we can come to know which all a/c gets updated? One way to avoid such situation is to take backup of the file which is getting updated in previous step, and in case of error restart from backup step.
Leme know if anyone has a diff opinion.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / balmukund
Might be the o/p file size is less than the input file.
Please use that more than 200 Tracks than input file with
RlSE option in size parameter. I think this will resolve the
issue.
| Is This Answer Correct ? | 1 Yes | 1 No |
What happens if both JOBLIB & STEPLIB is specified ?
how to solve u4038 abbend?........
how to identify the file used in the JCL is an VSAM file. Just seeing the JCL code how can we track the file as VSAM file?
Is CPU time assigned to a JOB and JOBSTEP BOTH, by default ?
What is the meaning of keyword in JCL? What is its opposite?
What is condition checking in jcl? Is this possible?
how to write a jcl prog to copy alternate recs from ps1 to another ps2,suppose ps1 having 10 recs?
In sms datasets, what is the function of the dd mgmtclas keyword?
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?
There is one QSAM is the VB file. i want to get the first characters in this file and change those characters from'abcd' to '1234' and creat a vasm file to put '1234' in it. how to do in only JCL. if it not QSAM, it's VASM and VB. how to do it.
How do you send the output of a COBOL program to a member of a PDS?
Can we call instream to catalog and catalog to instream?