
V12R1Mnnn application compatibility levels
In Db2 12, you can use the application compatibility level to control the adoption of new SQL capabilities and enhancements of particular function levels.
You can use the application compatibility level of applications, and objects such as routines or triggers, to control the adoption and use of new and changed SQL capabilities that are introduced in function levels. Generally, applications, and routines or triggers, cannot use new or changed SQL capabilities unless the effective application compatibility level is equivalent to or higher than the function level that introduced the changes. The application compatibility level applies to most SQL statements, including data definition statements (such as CREATE and ALTER statements) and data control statements (such as GRANT and REVOKE statements).
The corresponding function level or higher must be activated when you bind packages at
an application compatibility level. However, if you activate a lower function level (or * function
level), applications can continue to run with the higher application compatibility level.
To
prevent the continued use of SQL capabilities introduced in the higher function level, you must also
modify the application and change the effective application compatibility level to the lower level.


Application compatibility levels are specified in commands and message output by nine-character strings that correspond to the Db2 version, release, and modification value of the corresponding function level. See the activation details for each function level for a summary the new features that are controlled by the corresponding application compatibility level.
For example,V12R1M510
specifies compatibility with the highest available Db2 12 function level. The equivalent function level or higher must be activated. 