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

What is the difference between structured cobol programming and object alternativelyiented cobol?

1299


What is the problem of ordered sequential files access?

1208


How do you reference the fixed block file formats from cobol programs

1289


What is a report item?

1196


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

1501


How to use the same COBOL program in Batch and CICS on lines? explain with an example

2438


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

1397


Can we redefine the field of x(200) to less than 200?

1431


How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?

1209


What is the difference between a binary search and a sequential search what are the pertinent cobol?

1198


In COBOL, what is the different between index and subscript?

1282


what is search and searchall?what is the diffrence between them?give an best example?

6929


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

1154


Discuss about changing dataset name in proc.

1296


In COBOL programming, what is PERFORM? What is VARYING?

1209