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


Please Help Members By Posting Answers For Below Questions

Explain in DD statement what is the use of DCB parameter?

652


Name the statement which can be used to send data to another mvs jes3 node?

601


How can a fb file convert to vb file using sort program?

802


What do you understand by jcl?

625


How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?

2164






Explain dd statement in jcl?

640


I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?

2097


What are steplib and joblib? What for they are used?

689


I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?

825


What is the function of a dd statement?

702


Mention the types of job control statements?

681


Where can program checkpoints be stored for use in a restart?

843


In job processing, what happens in execution stage?

696


Explain how can the submitting users racf authority be overridden in a job stream?

668


Is it possible to code instream data in a PROC?

748