Upgrading your existing .NET CLR routines involves managing
the changes between DB2® Version 10.1 and previous releases that impact these routines and
verifying that they function as expected.
Procedure
To upgrade your .NET CLR routines to DB2 Version 10.1:
- Connect to the DB2 Version 10.1 database in which you defined the .NET CLR routines.
- If you created your .NET CLR routines with execution control
mode UNSAFE and you are upgrading from pre-DB2 Version 10.1 32-bit instance to DB2 Version 10.1 64-bit instance, rebuild their source code using the
compile and link options specified in bldrtn.bat,
the DB2 sample script for building
.NET CLR routines.
If you upgraded your .NET Framework,
you should also rebuild your .NET CLR routines.
- Deploy the routine assembly to the DB2 server in the same location specified by
the EXTERNAL clause in the routine definition. The routines should
function successfully, with no differences in between previous releases
and DB2 Version 10.1.
What to do next
After upgrading your .NET CLR routines, perform the remaining
steps in the
Upgrading routines task.