SYMPTOMS
When you try to connect from an SNA Server client or from a Host Integration Server client by using a 5250 emulator,
you receive the following error message:
There is a problem with the configuration of the connection to the
AS/400
Primary return code = 0003[AP_ALLOCATION_ERROR]
Secondary return code = 00000005
[AP_ALLOCATION_FAILURE_RETRY]
According to SNA Manager, although the AS/400
connection is active, the connection has not negotiated any sessions.
Note You can determine how many sessions have been negotiated. To do this, perform an LU-LU test on the mode that is in question. This mode may be an APPC mode, or a Local APPC LU mode, or a Remote APPC LU mode.
To find the LU-LU test tool in SNA Manager, click
APPC - 3270 Session Viewer on the
Tools menu. A list that is similar to the following is displayed:
Partner LU Mode Connection Sessions Limit
-------------------------------------------------------------
<remote LU> QPCSUPP <connection_name> 0 64
<remote LU> SNASVCMG <connection_name> 0 2
The value for the limit on the QPCSUPP mode is typically 64. However, the value may be different if the QPCSUPP mode has been
modified in SNA Manager and on the AS/400. If the limit on the QPCSUPP
mode is 0, SNA Server or Host Integration Server have not successfully negotiated any sessions.
The
maximum parallel-session limit that the QPCSUPP mode supports on the AS/400 is 512.
This limit was imposed by IBM.
RESOLUTION
To resolve this problem, determine the cause of the problem from the list earlier in this article, and then reconfigure your system accordingly.
Alternatively, if the link is a synchronous data link control (SDLC) connection to the AS/400, force the AS/400 to become the
primary link station. You can use either of the following ways to force the AS/400 to become the
primary link station:
- Create a SDLC line description that specifies *PRI (primary) for the Data link role
parameter.
- Create a controller description for SNA Server or Host Integration Server that specifies *SEC (secondary) for
the Data link role parameter.