IBM Books

What's New


Changes to Appendix. Migrating Your Applications

The following new appendix is added for Version 5.2.

When you upgrade to DB2 Universal Database Version 5 from a previous installation of DB2, DB2 Client Application Enabler, or DB2 Software Developer's Kit, your database and node directories are migrated automatically. To migrate your existing databases, use the tools described in the Administration Guide.

You do not need to recompile your applications because binary compatibility is provided between DB2 Universal Database Version 5 and previous versions of DB2. If, however, you want to recompile, you may need to recode some of your applications.

In DB2 Universal Database Version 5, all character array items with string semantics have type char, instead of other variations, such as unsigned char. Any applications you code with DB2 Universal Database Version 5 should follow this practice.

If you have DB2 Version 1 applications which use unsigned char, your compiler might produce warnings or errors because of type clashes between unsigned char in Version 1 applications and char in Version 5 function prototypes. If this occurs, use the compiler option -DSQLOLDCHAR to eliminate the problem.

Refer to the SQL Reference for a list of incompatibilities between DB2 Universal Database Version 5 and previous versions of DB2. Refer to the API Reference for a list of API incompatibilities between DB2 Universal Database and previous versions of DB2.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]