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

how you can access an uncataloged dataset in a JCL?

0 Answers  


Explain dd statement in jcl?

0 Answers  


A file has dta in S9(09) COMP format. How do I move the data into a character field X(10)?

2 Answers  


in a series of 10 steps, i need to run only 1,3,5,7 & 9th steps only. how do u code?

5 Answers   ADP,


How can an in-stream dataset be terminated?

0 Answers  






What is Backward Referencing ?

3 Answers   HSBC,


Can we DELETE all the Generations of a GDG at once, WITHOUT deleting the GDG itself ?

7 Answers   IBM,


What are the difference between jcl and jes?

0 Answers  


a jcl has 2 steps. How to code the jcl such that if step1 abends, then step2 runs. Else, job terminates with step1?

1 Answers   IBM,


How to submit a jcl from cics?

0 Answers  


A dd statement consists of 4 fields. Name them?

0 Answers  


Hi, Say I have 10 flat files and I want to copy all these 10 flat files to a GDG versions flat files (I have GDG base: FDWS01.TEST.RESTORE) in one shot. Can we do that in one shot using a JCL. May be by using IEBGENER. It's a bit urgent. So anyone's fast rely would be appreciated.. Thanks in advance.. 10 flat files ----------------------------------- FDWS01.SUB.RESTORE1 FDWS01.SUB.RESTORE2 FDWS01.SUB.RESTORE3 ; ; FDWS01.SUB.RESTORE10 TO GDG versions ----------------------- FDWS01.TEST.RESTORE.G0001V00 FDWS01.TEST.RESTORE.G0002V00 FDWS01.TEST.RESTORE.G0003V00 ; ; FDWS01.TEST.RESTORE.G0010V00

2 Answers  


Categories