Naming conventions and permissions of communication exit libraries
Communication exit libraries must adhere to platform-specific naming and permission rules.
The maximum length of a communication exit library name, not including the file extension and the 64 suffix, is limited to 32 bytes.
The following list outlines the naming convention for the library
file extension on each operating system:
- AIX®
- The extension must be .a or .soNote: If both the .a and .so extensions exist, .a is used.
- Linux® and HP IPF
- The extension must be.so
- Windows
- The extension must be .dll
The following list outlines the permission for the library file
on each operating system:
- UNIX and Linux
- Owned by the instance owner and readable and executable by only the instance owner.
- Windows
- Owned by a member of the DB2AMINS group and readable and executable by a member of the DB2ADMINS group.
Examples
The following example shows the communication exit library extensions on a library
that is called mycommexit on all operating systems:
- AIX 64-bit mycommexit.a or mycommexit.so
- Linux 32-bit, or 64-bit, HP 64-bit on IPF: mycommexit.so
- Windows 32-bit: mycommexit.dll
- Windows 64-bit: mycommexit64.dllNote: The file name suffix 64 is required only on the library name for Windows 64-bit.
When you update the database manager configuration with the name of a communication exit library, use the full name of the library without the 64 suffix. The file extension, and qualified path to the file, must not be specified either when you update the database manager configuration.
The following example updates the database manager configuration
on a Windows 64-bit system
that sets the mycommexit64.dll library as the
communication exit library.
UPDATE DBM CFG USING COMM_EXIT_LIST mycommexit
Note: The COMM_EXIT_LIST name is case-sensitive,
and must exactly match the library name.