How to configure a loopback connection with Db2 on AIX

Published On: 7. März 2024Last Updated: 7. März 2024Categories: Db2 LUW, Dev+OpsTags: , , 0,7 min readViews: 180

By default, AIX does not allow 32-bit applications to attach to more than 11 shared memory segments per process, of which a maximum of 10 can be used for local Db2 connections.

The following steps outline how to configure DB2 to use a loopback connection:

Copy to Clipboard

This technique can help to fix problems with SQLCODE -1224 on an SQL CONNECT.

An alternative is to specify AIX environment variable EXTSHM to increase the maximum number of shared memory segments to which a process can attach.

Links to IBM Db2 documentation