By issuing an ALLOCATE command, your transaction program acquires a session to start a new conversation. The ALLOCATE command allocates a CICS session from the session pool defined for the connection. If all sessions are in use, the program waits, unless you specify noqueue or nosuspend, in which case the SYSBUSY condition is raised.The RESP value returned should be checked to ensure that a session has been allocated. If the session is successfully allocated (the RESP value is zero), the conversation is in allocated state (state 1) and the session identifier, convid, in EIBRSRCE must be saved.The convid must be used in subsequent commands for this conversation.For more information about ending a conversation in one of these ways, see the CICS documentation.
![]() |