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 compile process of cobol program expalin with code
how you can direct the data to spool using SYSOUT option?
What is the purpose of dd dummy statement?
a dd statement has 2 types of parameters. Name them?
What is notcat 2 - gs?
what is the difference between JES3 and JES2?
How to pass the parameter in parm using linkage section ? (syntax)?
Name the parameters which can be used to limit the number of records written to a sysout dataset?
What is the significance of addrspc parameter in exec statement?
How can an in-stream dataset be terminated?
How to pass data to a program that is coded in an exec statement?
what is JCL?
What is the function of the dd dcb keyword?
I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.
What are the 4 fields in dd statement?