Below is detail on how the APPLCOMPAT Bind Option is determined:
- The DB2 Tools will always generate an explicit APPLCOMPAT for every package in order to run in a controlled environment. Different packages can be bound with a different APPLCOMPAT The products within the
DB2 Tools control the application compatibility setting, the APPLCOMPAT generated is based on either: Default value, SSIDVERF from the SETUPxx, or a product override.
Common components for DB2 provide a DEFAULT value for APPLCOMPAT of V12R1M500 for DB2 12 running at that level or higher, however the product teams may override.
An example is Batch Processor (and ISQL), which is bound with the SSIDVERF from the PARMLIB.
Default is V12R1M500
Product overrides to V12R1M505
SETUP DB2VERF is V12R1M502
The generated APPLCOMPAT will be V12R1M502
Default is V12R1M500
Product overrides to V12R1M502
SETUP DB2VERF is V12R1M505
The generated APPLCOMPAT will be V12R1M502, but now due to product overrides
APPLCOMPAT on the Bind cannot be higher than the activated Function Level, which must be reflected in the SSIDVERF.
- Batch Processor documentation: Batch Processor
Batch Processor packages are bound at the active DB2 function level as specified with function level (SSIDVERF) in the SETUP global parmlib member. This enables DB2 functionality to be exploited in Batch Processor scripts for features that are associated with DB2 function levels.
- If the function level is lower than 500, this should be reflected in SSIDVERF and bound with that value. The DB2 Administration tools will generate a SET CURRENT APPLICATION COMPATIBILITY with a prior level in several cases. As an example, if level 504 is activated, but users still need to create obsolete objects, the Administration tools will use the lower level dynamically so the objects can still be created.
- It is critical the SETUPxx parameters VERF/VERC be kept up to date, and that the Post Install Compare/Create/Bind tasks are generated/executed whenever the DB2 level changes, which has been the Standard Procedure.
Upgrade to a new DB2 Release or Function Level