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 |
What is the difference between drop table and delete table?
What is the maximum number of columns in a db2 table?
What will the COMMIT accomplish?
What is query for your birthday date should be in hours,minute and seconds format?
how to resolve -805. give clear explination for that
Where can you declare a cursor in a cobol-db2 program?
What is the use of reorg in db2?
What is difference between isnull and coalesce?
what is plan? is plan executable or package?
what is rebinding ?
What is lock escalation?
What are the disadvantages of using VARCHAR?