when we are trying to update db2 rows. if the program
abends . how we will know that the last successful update
row was
Answer Posted / vinay srivastava
We can go in Abend Aid and look for the source listing where
we can find the last values stored in Host Variables where
the Job Abended.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is meant by explain?
DB2 can implement a join in three ways using a merge join, a nested join or a hybrid join. Explain the differences?
File not opened because library is *PROD and debug is UPDPROD(*NO). ? what may be the reason? how to solve it..?
How do we specify index to include or not during bind process.
How to create db2 table in mainframe?
Explain about cursor stability?
What is reorg and runstats in db2?
List down the types of triggers in the db2 database?
Name the various locking levels available?
What is cursor stability in db2?
What is catalog database in db2?
Is db2 a programming language?
Highlight all the advantages that are attached to a package.
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.
What is multi row fetch in db2?