Controlling the Db2 application compatibility level
You can use the application compatibility level of your applications to control the adoption of new capabilities and enhancements, and the impact of incompatible changes. That is, you can separate the Db2 12 migration and function level activation processes from application updates to adopt new features and resolve incompatible changes.
Before you begin
Activate the function level that introduces the new SQL capabilities that your applications will use. For details, see Adopting new capabilities in Db2 12 continuous delivery.
About this task
You can change the application compatibility level for each application when you are ready for it to run with the features and behavior of a higher Db2 version or function level. The application compatibility level applies to all SQL statements, including data definition statements.
After function level 500 or higher is activated, you can continue run each application with the features and behavior of an earlier Db2 versions or a lower Db2 12 function levels.
Procedure
To control the adoption of new SQL capabilities, and the impact of incompatible changes on your Db2 applications, and objects such as routines and triggers, use the following process:
What to do next
After all applications are ready to run at a higher application compatibility level or explicitly bound at a lower level, you can increase the APPLCOMPAT subsystem parameter value to bind packages at a higher application compatibility level by default.
The APPLCOMPAT subsystem parameter specifies the default value to use when the APPLCOMPAT bind option is not specified in a BIND command, or the APPLCOMPAT value is not specified or stored in the Db2 catalog for a REBIND command. Its value does not prevent specific applications from running at higher application compatibility levels. For more information, see APPL COMPAT LEVEL field (APPLCOMPAT subsystem parameter).
For detailed instructions, see Enabling default application compatibility with function level 500 or higher.