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..?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to move the records from file to array table. give with code example

2209


How to know whether the module is dynamical or statistical?

648


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

634


Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks

2323


What is cobol?

736






For rewrite, why is it mandatory that file needs to be opened?

616


What is a SSRANGE and NOSSRANGE?

809


What is the difference between PIC 9.99 and 9v99 in COBOL?

727


In COBOL programming, what is PERFORM? What is VARYING?

665


What is the utilization of copybook in cobol?

648


What are the different data types in cobol?

781


How do u write test cases?

1631


What the difference is between continue and next sentence?

651


What are the pertinent COBOL commands?

2617


What kind of error is trapped by on size error option?

733