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
- IBM z
- 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
newsletter
Db2 LUW
IDUG
IBM
GSE
SQL
RSS feed
cloud
12.1
Catalog Manager
BMC
monitoring
SMF
webinar
installation
function levels
IFCID
db2 11.5
EOS
end of support
bind
db2look
db2lk390.bnd
date range
DAYOFWEEK
registry
Performance Analysis
catalog
PassTicket
DSNACCOX
lockwait
sample
archiving
umlaut
date function
difference
date_part
REGEXP_REPLACE
Mainview
DB2 12.1
IBM z

