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



I have a job which is a long-running one. Processes millions of records. Due to some run-time probl..

Answer / ram

Use TIME parameter in the job card

Is This Answer Correct ?    4 Yes 0 No

I have a job which is a long-running one. Processes millions of records. Due to some run-time probl..

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

I have a job which is a long-running one. Processes millions of records. Due to some run-time probl..

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

I have a job which is a long-running one. Processes millions of records. Due to some run-time probl..

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

Post New Answer

More JCL Interview Questions

what is d/f b/w sysout & sysprint

4 Answers   TCS,


Does the terms, JOBLOG, SPOOL and SYSOUT indicate the same thing, i.e., where JCL and JES messages and statements are written ?

2 Answers  


01 A. 10 B pic X(10). move spaces to A. move spaces to B. output in A & B

2 Answers   Perot Systems,


What do you understand by the terms: joblib and steplib?

0 Answers  


if you have big pgm. during compilation is abends with (soc7)how do you know which line has soc 7 error.

4 Answers   IBM,






how to resolve the soc4 error?

5 Answers   ITC Infotech,


How does -818 sql error occur? Why does it happen and what can be done to overcome this error code?

5 Answers   RBS,


a dd statement has 2 types of parameters. Name them?

0 Answers  


Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?

0 Answers  


What is DSNDB06 ?

1 Answers  


How is the keyword DUMMY used in JCL?

4 Answers  


What is a PROC? What is the difference between an instream and a catalogued PROC?

2 Answers  


Categories