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
how to move the records from file to array table. give with code example
How to know whether the module is dynamical or statistical?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
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
What is cobol?
For rewrite, why is it mandatory that file needs to be opened?
What is a SSRANGE and NOSSRANGE?
What is the difference between PIC 9.99 and 9v99 in COBOL?
In COBOL programming, what is PERFORM? What is VARYING?
What is the utilization of copybook in cobol?
What are the different data types in cobol?
How do u write test cases?
What the difference is between continue and next sentence?
What are the pertinent COBOL commands?
What kind of error is trapped by on size error option?