Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Define static linking and dynamic linking.

1113


how to access the file from prodution from changeman tool and to submit a file to production

7443


For rewrite, why is it mandatory that file needs to be opened?

1066


How can you get the ksds file records into your cobol program?

1031


IF I mention stop run in CICS what happens?

2305


A table has two indexes defined. Which one will be used by the SEARCH?

1232


i want a program using by if, evaluate , string, unstring, perform, occurs?

4640


How do you reference the following file formats from cobol programs?

1123


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

1110


What is the difference between PIC 9.99 and 9v99 in COBOL?

1246


example for sub strings ? and refernce modifications whit output pls

2269


Which is not true about evaluate statement

2396


) How do u handle errors in BMS macro

1960


What is an in line perform? When would you use it? Anything else you wish to say about it.

1022


what is the use of outrecord?

2157