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.
Answer Posted / 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 |
Post New Answer View All Answers
What is the function of the dd mgmtclas keyword in sms datasets?
Can we call instream to catalog and catalog to instream?
Explain the hierarchy levels in jcl?
in ways data can be passed to a COBOL program from JCL?
How can a jobs execution priority be modified?
what JCL Procedures?
A dd statement consists of 4 fields. Name them?
What is condition checking in jcl? Is this possible?
how do you code a null statement?
What is NOTCAT ?
Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?
List the different components of jcl statement?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
Explain the job statement in jcl?
How to do automated restart when a job abend?