i have the job which has written updated 100 records into
the table and for 101th record it got abended and i want to
start the job again and should wirte from 101th record not
from 1st record..how to do it..?

Answers were Sorted based on User's Feedback



i have the job which has written updated 100 records into the table and for 101th record it got ab..

Answer / ravi

You can do this by using commit and restart logic.
Commit all the records and whenever commit is greater then
zero set the restart process to true.

Is This Answer Correct ?    1 Yes 0 No

i have the job which has written updated 100 records into the table and for 101th record it got ab..

Answer / anshul

you can use checkpoint logic

Is This Answer Correct ?    2 Yes 1 No

i have the job which has written updated 100 records into the table and for 101th record it got ab..

Answer / vaishnavi

Use Checkpoint logic.

Is This Answer Correct ?    1 Yes 0 No

i have the job which has written updated 100 records into the table and for 101th record it got ab..

Answer / mallu

Yes Ravi is correct, We can use Restart Logic

Is This Answer Correct ?    1 Yes 1 No

i have the job which has written updated 100 records into the table and for 101th record it got ab..

Answer / chakri

Hi Ram question is on tables so we have to use Restart-Logic

Is This Answer Correct ?    0 Yes 0 No

i have the job which has written updated 100 records into the table and for 101th record it got ab..

Answer / ram.g

y u guys going for complex logic for simple problem....

just open ur file in extend mode, dats the answer for your
qn..even if u wanna start from the particular row whr abend
happens..use the cursor with hold option

Regards,
Ram.G

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More COBOL Interview Questions

What is an in-line perform ?

4 Answers   Accenture,


What are literals?

0 Answers  


consider the fallowing 77 stat pic 9. 88 male value 1,2,3. 88 female value 4 through7. what will be the value of stat a) set male to true. b) set female to true.

5 Answers  


What is the difference between write & move in COBOL?

3 Answers   CSC, HHB,


What is the maximum data length for Numeric DataType ?

3 Answers   Cap Gemini,






01 text-data pic x(100). move 'xyzdbfrjjg u' to text-data. how to find the value of last index of text-data?

3 Answers   Mind Tree,


How many times the loop runs here 01 a pic 9(2) value 1. perform para1 until a=10 move 1 to a. stop run. para1: move 10 to a.

5 Answers  


Give some advantages of REDEFINES clause?

2 Answers   Syntel,


Program A calls program B. Will the working storage variables declared in program B be initialized every time it is called by program A or will the values be retained until the end of program A?

7 Answers  


Syntax for JCLLIB & JOBLIB???

1 Answers  


What is the difference between Perform para and perform asaection in cobol?

3 Answers   TCS,


How to define a array dynamically.....

5 Answers   Fidelity,


Categories