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

When using IBM utilities, RESTART(CURRENT) on the EXEC
statemnt will restart the program from the last committed
point.

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we insert update delete in view?

579


What is explain plan in db2?

592


What is a system catalog table in db2?

590


What are the 2 sqlcodes that are returned?

643


What is db2?

743






What is the usage of open cursor command?

601


What is the role of the data page in the db2 database?

589


ther r 2 tables OTTABLE & SALTABLE, add the otamt from OTTABLE to empsal of SALTABLE if eid is matched else add the unmatched from OTTABLE to SALTABLE

1597


SET is the ANSI standard for variable assignment, SELECT is not. SET can only assign one variable at a time, SELECT can make multiple assignments at once. If assigning from a query, SET can only assign a scalar value. If the query returns multiple values/rows then SET will raise an error. SELECT will assign one of the values to the variable and hide the fact that multiple values were returned (so you'd likely never know why something was going wrong elsewhere - have fun troubleshooting that one) When assigning from a query if there is no value returned then SET will assign NULL, where SELECT will not make the assignment at all (so the variable will not be changed from it's previous value) As far as speed differences - there are no direct differences between SET and SELECT. However SELECT's ability to make multiple assignments in one shot does give it a slight speed advantage over SET.

2155


Explain packages.

666


What is dbrm? What it contains? When it will be created?

595


What is sqlca’s maximum length?

678


How to find primary key of a table in db2?

616


What are the various data types available in db2?

634


What are the different types of base tables?

587