Implicit connections to CAF

If the CAF language interface (DSNALI) is available and you do not explicitly specify CALL DSNALI statements in your application, CAF initiates implicit CONNECT and OPEN requests to Db2. These requests are subject to the same Db2 return codes and reason codes as explicitly specified requests.

Implicit connections use the following defaults:
Subsystem name

The default name that is specified in the module DSNHDECP. CAF uses the installation default DSNHDECP, unless your own DSNHDECP module is in a library in a STEPLIB statement of a JOBLIB concatenation or in the link list. In a data sharing group, the default subsystem name is the group attachment name.

Implicit connections to CAF always use DSNHDECP as the user-specified application defaults module.

Be certain that you know what the default name is and that it names the specific Db2 subsystem you want to use.

Plan name
The member name of the database request module (DBRM) that Db2 produced when you precompiled the source program that contains the first SQL call.

Different types of implicit connections exist. The simplest is for an application to call neither the CONNECT nor OPEN functions. You can also use the CONNECT function only or the OPEN function only. Each of these calls implicitly connects your application to Db2. To terminate an implicit connection, you must use the proper calls.