Can DB2 be accessed by TSO users? If yes, which command is
used to invoke DB2?
Answer Posted / s
Yes the DB2I invokes the DSN Command processer.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Where do you specify them?
If I have a view which is a join of two or more tables, can this view be updateable?
What is the syntax for FETCH in DB2 ?
What is ibm db2 used for?
File not opened because library is *PROD and debug is UPDPROD(*NO). ? what may be the reason? how to solve it..?
Define declaration generator (dclgen).
Explain the function done by data manager?
What is the maximum size of a char data type in db2?
What is null indicator in db2?
what is a corelated subquerry?
How can deadlocks be resolved?
How to view db2 table structure?
Is db2 relational database?
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.
When reorg is used?