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 is an in-line perform ?
What are literals?
consider the fallowing 77 stat pic 9. 88 male value 1,2,3. 88 female value 4 through7. what will be the value of stat a) set male to true. b) set female to true.
What is the difference between write & move in COBOL?
What is the maximum data length for Numeric DataType ?
01 text-data pic x(100). move 'xyzdbfrjjg u' to text-data. how to find the value of last index of text-data?
How many times the loop runs here 01 a pic 9(2) value 1. perform para1 until a=10 move 1 to a. stop run. para1: move 10 to a.
Give some advantages of REDEFINES clause?
Program A calls program B. Will the working storage variables declared in program B be initialized every time it is called by program A or will the values be retained until the end of program A?
Syntax for JCLLIB & JOBLIB???
What is the difference between Perform para and perform asaection in cobol?
How to define a array dynamically.....