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

Is there a way to check for an empty file in JCL other than using IEBCOMPR and the command PRINT COUNT(1)?

8 Answers  


i have a file which contains duplicates ? my requirement is to eliminate duplicates and these elminated duplicates should be moved to another file can any code this using sort ?

3 Answers   IBM,


What does a disposition of (NEW,CATLG,DELETE) mean?

3 Answers  


What do you do if you do not want to keep all the space allocated to a dataset?

2 Answers  


How to use COND Parameter in jcl

4 Answers   NIIT, Wipro,






How can a jobs execution priority be modified?

0 Answers  


My requirement is : How to populate a empty PS/flat file with ONLY spaces in the first line. You should not use any input dataset to do this. I'm not sure whether you may use any utility for this purpose?

2 Answers   HCL,


While using SORT FILES =NONE,XSUM I am getting error "ICE172A E XSUM IS NOT SUPPORTED - USE ICETOOL SELECT IF APPROPRIATE"..I want to write duplicate records a a serparte file..how i can do tht?

3 Answers   Steria,


How to execute step2,step1,step3 when step1,2&3 are in order

6 Answers   TCS,


What is GDG?

1 Answers  


What is catelog procedure and how many catelog procedure to use in one job?

2 Answers   Infosys,


I have a jcl which is using 2 data sets i want to override those data sets. how can i override the files within the JCL. Give me the syntax. Make sure that it is not calling any Proc.

1 Answers  


Categories