What is package versioning? Please give an example.
Answer Posted / mani
Versioning allows multiple packages that share both the
schema and Package ID to co exist in the system catalogs.
A sample application called payroll is compiled from
payroll.sqc.This application would be precompiled and the
package payroll bound to the database and the application
delivered to the users.users then could run the application
in production.
If the application required modification (even without sql
changes) the process of recompiling,binding and sending the
application to the users must be repeated.If the version
option was not specified for this second precompilation of
payroll, the first package is replaced by second package.
Any user who attempts to run the old version of application
would get -818 error.To avoid this use VERSION and it allows
both versions of the appliction to run at the same time.
When the first version of Payroll was created, the version
option should be used during the precompilation step.
DB2 PREP PAYROLL.SQC VERSION V1.1
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How to connect to db2 database from windows command line?
What are the 2 sqlcodes that are returned?
What are the prerogatives?
What is difference between rollback and commit?
Which command is used to connect to a database in DB2 ? Give the Syntax.
What is db2 and what is the use of db2 optimizer?
When do you specify the isolation level?
How is a typical db2 batch pgm executed?
define clustering index.
by using cursors , we can access particular records from the table based on some condition, i want to delete those selected records, how can we write a query for this in the program?
Where do you specify them?
What is the max length of sqlca?
What is view db2?
what is the responsibility of the construction superintendent
What is the meaning concurrency in the db2 database?