How is a typical db2 batch pgm executed?
Consider that a package is bound into 2 different collections and the PKLIST option specifies both the collections. If the collection id is not specified in the program while executing the SQL query, then when the DB2 system will search the package list, which collection will it pick up or will it give an error/abend?
What is commit in db2?
What types of tables are there in the db2 database?
What are foreign keys?
What is the difference between "db2ilist" and "db2 get instance" commands in DB2 Database Server?
What information is used as input to the bind process?
is it possible to get -811 error when you use cursors. why?
what are the frequent DB2 abends did you encounter in your programs ?? What are different SQL abends ??
What does CURRENTDATA option in bind indicate
what is the syntax for FOR UPDATE CLAUSE in cursor declaration and how can u update using cursor? is it possible to update multiple rows at a time.
Is it possible to alter a table – for example adding a column, when another user is accessing or updating some columns?
PLAN IS EXECUTABLE AND PACKAGE IS NOT EXECUTABLE . THEN WHAT IS THE USE OF PACKAGE?
2 Answers Tech Mahindra, Wipro,