How to configure a loopback connection with Db2 on AIX
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
editor's pick
- 12.1
- Announcement
- archive
- archiving
- bind
- BMC
- BMC Mainview
- book
- catalog
- Catalog Manager
- cloud
- conference
- CSV
- database size
- date function
- date range
- date_part
- DAYOFWEEK
- DB2 1.1
- db2 11.5
- DB2 12.1
- Db2 13 z/OS
- Db2 LUW
- db2 z/OS
- DB2_FEDERATION_OVERRIDES
- db2greg
- db2lk390.bnd
- db2look
- db2profile
- db2set
- db2top
- development
- difference
- DRDA
- DSNACCOX
- DSNTIP5
- end of support
- EOS
- federated server
- federation
- Fix Pack
- free of charge
- function levels
- GSE
- GTF
- IBM
- IDUG
- IFCID
- installation
- instance-wide
- Java
- LOAD
- lockwait
- loopback
- Mainview
- monitoring
- newsletter
- node
- PassTicket
- Performance Analysis
- Quest
- RACF
- reference summary
- REGEXP_REPLACE
- registry
- RSS feed
- sample
- security
- SERVER_ENCRYPT
- SMF
- SQL
- SQL01224N
- Strobe
- trace
- transform paths
- Transformpfade
- umlaut
- webinar
tags
Db2 13 z/OS
Fix Pack
db2 z/OS
conference
Db2 LUW
newsletter
GSE
IBM
IDUG
SQL
RSS feed
Catalog Manager
SMF
monitoring
12.1
webinar
cloud
BMC
RACF
REGEXP_REPLACE
bind
registry
end of support
DB2 12.1
catalog
Performance Analysis
EOS
transform paths
Transformpfade
installation
function levels
date_part
difference
DSNTIP5
DAYOFWEEK
SERVER_ENCRYPT
PassTicket
DSNACCOX
date range
db2lk390.bnd
db2look
archiving
umlaut
date function
db2 11.5

