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 |
What are differences between COBOL and java ? why we are giving more preference to COBOL ?
In my table having 3000 Records. How can I delete the 500th row? (we don't know what is data inside the table)
What is the mode in which you will OPEN a file for writing?
What does the IS NUMERIC clause establish ?
What is rmode(24)
What is the difference between a subscript and an index in a table definition?
Explain the configuration section of a cobol program with examples of syntax.
What will happen if we move SPACES to numeric field and ZEROES to alphabetic field?
The order of precedence of arithmetic operators in an expression can be overridden with the use of (a) [] (b) () (c) {} (d) Any of the above
have in 100 records in a flat file i want to move records like 1,3,5,7,9,11,.. to Output file1 and 2,4,6,8,10,12,14 .. records moved to Output file2..Pls Provide real time answer..
What are all the divisions of a COBOL program?
Can we dynamically increase the size of occurs clause? i.e In case I an not sure of the size of array and want to increase the size at run time.If yes , how?