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 is the motivation behind coding class parameter in job statement?
What does S0C4 error mean?
Is there any command to check wether the ps file is in sorted order?
IN MY JCL I VE 8 STEPS I WANT TO EXCUTE STEP 8 FIRST THEN EXCUTE STEP 4 ,HOW WILL EXCUTE STEP 8 BEFORE STEP 4?
7 Answers Cognizant, IBM, IGT,
How to print the Output to SPOOL using MSGCLASS and SYSOUT ?
Explain concatenating datasets?
i created one base gdg with lrecl = 100 , now i need to create versions with different lrecl =150,200 can it be possible to create like tht ?
In my job I have 6 steps. Step01,02,03...step06. after executing step02 i want to skip step03 and want to execute step04. and once step04 is done then I want to go back and execute step03. once step03 is completed I want execute step05, 06 and so on... can any one tell me how do i do that???
What are steplib and joblib? What for they are used?
Say I have a file with 12 records. Each record has the name of the month. I have to append data in these 12 records into 1 record. How is it possible?
What is a GDG? How is it referenced? How is it defined? What is a MODELDSCB?
can we give instream data in procedure