TISRVMSL "GIVESOCKET NOT TAKEN FOR SERVER" & autoinstalled programs
search cancel

TISRVMSL "GIVESOCKET NOT TAKEN FOR SERVER" & autoinstalled programs

book

Article ID: 270344

calendar_today

Updated On:

Products

Gen - Run Time Distributed Gen

Issue/Introduction

Using Gen 8.6 Multi-Sockets CICS Listener (TISRVMSL) and encountering the "GIVESOCKET NOT TAKEN FOR SERVER ..." error with "autoinstalled" messages in the CICS log.

**********
TISRVMSL TISL TASK=00000055 07/18/2023 10:54:59 GIVESOCKET NOT TAKEN FOR SERVER SVR1                                            
 DFHPG0209 07/18/2023 10:54:59 CICJAP1A  PTLPROD SVR1 Resource definition for SVR1 has been autoinstalled using model DFHPGAPG.
 DFHPG0209 07/18/2023 10:54:59 CICJAP1A  PTLPROD SVR1 Resource definition for TIRORUNC has been autoinstalled using model DFHPGAPG.
 DFHPG0209 07/18/2023 10:54:59 CICJAP1A  PTLPROD SVR1 Resource definition for TIRSRTRZ has been autoinstalled using model DFHPGAPG.
 DFHPG0209 07/18/2023 10:54:59 CICJAP1A  PTLPROD SVR1 Resource definition for TIRARUNC has been autoinstalled using model DFHPGAPG.
 DFHPG0209 07/18/2023 10:54:59 CICJAP1A  PTLPROD SVR1 Resource definition for TIRHSTGC has been autoinstalled using model DFHPGAPG.
 DFHPG0209 07/18/2023 10:54:59 CICJAP1A  PTLPROD SVR1 Resource definition for TIRMMDLL has been autoinstalled using model DFHPGAPG.
 SRVR1     TASK=00000068 07/18/2023 10:54:59 SOCKET ERROR TAKESOCKET      RETCODE=-0000001 ERRNO=     113, IP = xxx.xxx.xxx.xxx 
 DFHPG0209 07/18/2023 10:54:59 CICJAP1A  PTLPROD SVR1 Resource definition for TIRCRUNC has been autoinstalled using model DFHPGAPG.
**********

Resolution

In this scenario, the EZACONFG file had a GIVTIME value of 0 which was the fundamental cause of the "GIVESOCKET NOT TAKEN FOR SERVER" error and increasing it per the guidelines in this article resolved the problem: CICS Sockets Listener (TISRVLIS/TISRVMSL) timeout parameters.

However, the "autoinstalled" messages in the CICS log also show that CICS Autoinstall is being used to define the generated Gen application server programs as well as the Gen TIR* runtime programs. That could cause the first transaction to be slow in starting up. The TAKESOCKET would be executed after the runtime in TIRMMDLL is invoked but the log shows the GIVESOCKET NOT TAKEN is issued before the runtimes are autoinstalled. So it was advised not to use Austoinstall and instead to create program definitions (PPT) for the Gen server and runtimes to speed up the server execution.
NOTE: Autoinstall is a good way to prevent failures, so good for a Test system but not really for Production or a system where response time/performance is an issue.

Additional Information

Gen™ 8.6 > Distributed Processing > Working With Distributed Processing > Anatomy of a DP Application > Communications and Middleware