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...

I have a DB2 table which has 1000 rows.after udatingg first
110 rows, my job abends. Now what I have to do if I want to
restart the job next time so that it should start updating
from 111th row (without updating first 110 rows again).

Answer Posted / karthik

RESTART logic will work fine..
following is the flow of restart logic:

if your program is having a commit for every 100 records
which u read from the file, we can restart the program to
update the records from 101 as it had a restart entry in
the restart table once the job got abeneded..

so in your program you need to have a logic like first you
need to read the restart table whether we need a restart
entry for that particular program, if so, u need to read
the first 100 records as dummy and then need to update the
remainig records..else we can start updating the table from
the first read recorrd itself..

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of predicate?

1088


List out the three types of page locks that can be held.

1195


What r the comman abends in db2, jcl and cobol???????

2309


i want to maintain uniqueness on pdf without make lf??????????

2205


Mention a credible reason why select* is never given preference in an sql program that has been embedded.

1246


How many databases can be created inside an instance in db2 ?

1087


What do you mean by between and in? Is between inclusive of specified range values?

1141


How do I import a csv file into db2?

1041


How can you find out the # of rows updated after an update statement?

1154


How do I copy a table in db2?

1059


What is node in db2?

1104


What is null indicator in cobol db2?

1113


What is the role of schema in the db2 database?

1363


How is deadlock resolved?

1206


Is it possible to create an Instance in DB2 using DB2 Control Center ?

1154