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 COND=ONLY ?

2 Answers  


i want to see the jobs in skeleton queue in diff region. (eg. 7 regions are running means , i want to see all the jobs in 7 regions which are in skel queue using 1 command)

1 Answers  


In SPACE,what is directory,RLSE

6 Answers   TCS,


what is d/f b/w sysout & sysprint

4 Answers   TCS,


what if any ,is the syntax error in the following piece of code 01 B PIC A(7) 02 C PIC 9(4) ........ IF(B NUMERIC) ADD 10 TO C a.the condition in the if statement is wrong b.noting is wrong c.because C is initialised.ADD 10 TO C is wrong d.both B and C shoud have same size.

1 Answers  






I have 255 procedures in a job, each procedure contain 2 steps.can we execute this job?

2 Answers  


I am having one step in my jcl.in that step,i am calling one proc.In that proc,i have 10 steps.i want to call a particular step in that proc without writing any new jcl ike iebedit utility...

2 Answers   Satyam,


In a single step if input file is present then only need to copy into output file or else need to through a RC is it possible. Note : i want it in a single step

1 Answers  


In how ways you can pass the data from Jcl to cobol ?

3 Answers   Cap Gemini, IBM,


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,


What you mean by skeleton JCl?

2 Answers  


Suppose there r 10 steps . Out fo which i want to execute 10th, 9th and 8th in reverse order without using IEBEDIT. How can i do that..???

5 Answers   IBM, UST,


Categories