When DB2 connection fails, will online program work or give
errors.
Answer Posted / nawal kishore
Online program will not work and it will give you abend
AEY9 when retry to use if connection has not been
established.
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
How to execute stored procedures?
What is dbrm library?
Which are the db2 tools to protect integrity of the database?
B37 abend during spufi?
what is diffrence b/w file-aid tool and file-aid utility???
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.
List some fields from sqlca?
What is cursor with hold option in db2?
What is the syntax for FETCH in DB2 ?
What are bind parameters in db2?
Suppose pgm A calling Pgm B .Pgm B has some Db2 program. at the time of compilation should plan and package will be created for both A and B or only B? What is the concept?
How do I import data from excel to db2?
What is query_cache_limit?
Explain in brief how does db2 determine what lock-size to use?
What is table space in db2?