MAXSOCKETS
The MAXSOCKETS system initialization parameter specifies the maximum number of IP sockets that can be managed by the CICS® sockets domain.
- MAXSOCKETS={65535|number}
- Set a suitable value that does not exceed the maximum value as defined in the
MAXFILEPROC parameter in SYS1.PARMLIB member BPXPRMxx. If you specify a value
greater than the MAXFILEPROC parameter, CICS issues message DFHSO0124, which specifies the value that CICS has used for this parameter. If the CICS region user ID has superuser authority, the
MAXFILEPROC parameter does not limit the setting of
MAXSOCKETS.
The maximum number of sockets must be greater than the maximum number of inbound and outbound sockets used by CICS including the number of TCPIPSERVICE resources in service.
When CICS is at the MAXSOCKETS limit and a new socket is required, CICS attempts to close the oldest idle inbound connection to allow the new socket to be created. If there are no idle inbound connections, then CICS closes an idle connection from an outbound connection pool. If there are no idle outbound connections, CICS is unable to create a new socket and issues message DFHSO0126 to report the failure.