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 / raj

You can use check point logic in JCL or you can do this in
program using a recovery-restart table.
1)First time when program runs it reads this table. No
records .. proceed..
2)Process 50 records .. store 50th record key in table..
then proceed to process file from 50th record..
3) Say program failed at 65th record..
4)Restart the job..
5)Program first look the restart table.. It has key value
of 50th record..
6)So set pointer to 51st record and start processing.
7)If your system is unrealiable and set commit frequency 5
or 10 records..

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2413


What is the Purpose of POINTER Phrase in STRING command in COBOL?

1195


What type of SDLC u followed? Why?

1956


what are decleratives in cobol?

2208


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

1025


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

1256


What is the difference between Global and External Variables?

1290


If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

3091


what is amode(24), amode(31), rmode(24) and rmode(any)?

1092


Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

2394


Are you comfortable in cobol or jcl?

988


Name the divisions, which are available in a cobol program?

1168


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

1221


How to remove 2 duplicate records and copy only one using job control language?

1168


) How do u handle errors in BMS macro?

1907