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 do you define a variable of comp-1 and comp-2?
What is rmode(any) ?
Which mode is used to operate the sequential file?
What is the Purpose of Pointer in the string?
what is difference between cobol and cobol/400
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
What is the difference between PIC 9.99 and PIC9v99?
Can we redefine the field of x(200) to less than 200?
how to access the file from prodution from changeman tool and to submit a file to production
Can you please let me know the centre name of INS certification in Kolkata.
Name the divisions, which are available in a cobol program?
Write a cobol program making use of the redefine clause.
What are the access modes of START statement?
Have you used comp and comp-3 in your project? And how?