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 |
how to solve u4038 abbend?........
What are s0c1, s0c4, s0c5, s0c7 and socb?
GDG Create syntax ?
Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You
One of My Job is running in production, which contains five steps?i want to pass the input to FIFTH step while running is it possible? if how?
i need some shortcuts and tso commands can any on ehelp me in these ?
How can u know the current date using jcl?
i have 10 steps in jcl program but i have to exicute only 2,4,6,8th and 10th ?how it's possible?
in ways data can be passed to a COBOL program from JCL?
1)what is compilation jcl for cobol program but it is calling another program 2)what is compilation jcl for cobol program but it is calling another program(in this, main program is pure cobol but sub program is cobol+db2 program anyone please answer me for above questions. it's very urgent
How can we increment subscript and index?
what is the function of spool command?