after udatingg first 110 rows, my job abends. now how do i
change my cobol program so that when i restart the Job it
will start updating from 111th row ( i.e in next run I
di=ont want to update those 110 rows which are already been
updated in the first run before job abend)
Answer Posted / sasha
- allocate control file with counter init to zero
- when you successfully processed your input records
accumulate your counter on control file
- if you abend then in your program first find out in
control counter is > 0. Then you reread your input file
until number of records read is equal to your counter on
control file. Next record is your current record to be
processed
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What are the different rules of SORT operation?
What is the utilization of copybook in cobol?
What are the pertinent COBOL commands?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
How many bytes S(8) comp field occupy and its maximum value?
What are the different open modes available in cobol?
What is Pic 9v99 Indicates in COBOL?
How can you get the ksds file records into your cobol program?
Write a program that uses move corresponding.
What are 77 levels used for?
What is the difference between PIC 9.99 and PIC9v99?
What is amode(31)
In which area will you utilize 88 level items in cobol?
Can a Search can be done on a table with or without Index?