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
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 |
Answer / chakri
Hi Ram question is on tables so we have to use Restart-Logic
| Is This Answer Correct ? | 0 Yes | 0 No |
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 |
Have you code any new programs in COBOL ? What is the functionality of the programs?
In an EVALUTE statement is the order of the WHEN clauses significant?
If I want to increase the Limit in GDG. What should I do?
How to increase the logical record length of existing PS file?
If i initialize the 01 level variable in array, will it initialize all the array elements (occurs)?
What does the INITIALIZE verb do?
TYPES OF SORTINGS. which is more prefarable.
How do u debug a S0C7 abend? (aswered till we get the field which caused that) After knowing the field which caused that how do u know the record which caused that if it is in production env? (dumb) Ok let us assume that we got to know that 100th record caused that and I wanted to skip only 100th record from the file and process from 101th. How to do that in JCL using SORT? (tried with STOPAFT but ended up dumb when he said smthing else is ther)
If we use GO BACK instead of STOP RUN in cobol?
which one is the best of com and com-3.using of real time ?
What are the ways you can generate a copybook?
How many times the loop runs here 01 a pic 9(2) value 10. perform para1 a times stop run. para1: move 20 to a.