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 the difference between perform varying and perform until
How to covert given string into ASCII value in COBOL/MF COBOL
What is rmode(any) ?
I have 100 records in a file.. i want to sort the records from 5 to 5o... give the syntax...
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
How can you get the ksds file records into your cobol program?
Why IBM?
What is the Purpose of POINTER Phrase in STRING command
in how many mode we can open a file ?
Why occurs can not be used in 01 level ?
ZEROES and SPACES are _______ constants (a) Figurative (b) Numeric (c) Non-numeric (d) Alphabete
Write a program to concert an Indexed file into Sequential file?