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?
Answer / mani
Generally when the search is done the order in which the
collection id is specified in the list would be taken for
priority.
You can use the special register CURRENT PACKAGE PATH or
CURRENT PACKAGESET (if CURRENT PACKAGE PATH is not set) to
specify the collections that are to be used for package
resolution.
The CURRENT PACKAGESET special register contains the name of
a single collection, and the CURRENT PACKAGE PATH special
register contains a list of collection names.
| Is This Answer Correct ? | 3 Yes | 0 No |
How to resolve -803 sql code in DB2?
Explain the function of data manager.
What is the maximum number of tables that can be stored on a Partitioned Table Space ?
how do you resolve -805?
cursor with hold explain ?
Explain the contention situations caused by locks?
What is meant by isolation level?
How do I copy a table in db2?
What is the role of data manager in the db2 database?
What else is there in the PLAN apart from the access path?
When can an insert of a new primary key value threaten referential integrity?
What are the disadvantages of PAGE level lock?