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
how to access the file from prodution from changeman tool and to submit a file to production
Write the code to count the sum of n natural numbers.
What is rmode(24)
What is static and dynamic call in cobol?
Difference between cobol and cobol-ii?
What are declaratives and what are their uses in cobol?
What is the difference between PIC 9.99 and PIC9v99?
What do you understand by psb and acb?
What are literals?
What is Pic 9v99 Indicates in COBOL?
Describe the cobol database components?
how to move the records from file to array table. give with code example
what are decleratives in cobol?
Write some characteristics of cobol as means of business language.
What is the use of intialize verb?