IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

CICS SOCKET shared between two transactions


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
akont

New User


Joined: 25 Jun 2016
Posts: 2
Location: Greece

PostPosted: Mon Jun 27, 2016 1:27 pm
Reply with quote

Hi everyone. This is my first topic here, so nice meeting you.

I am trying to setup a persistent TCPIP communication between CICS and a UNIX server.

I want to extend the client-listener-child-server model in the following way:

-One child server transaction only reads messages
-One child server transaction only writes messages
-Both transactions are long-running (working in parallel)

The issue here is if I can have both transactions using the same socket.

I have tried the givesocket/takesocket mechanism but I realised that the socket can only be used by the transaction that takes the socket and the transaction that gives the socket must close it. (As happens with CSKL) Otherwise, if the socket is not closed by first transaction it cannot be used (ERROR READ SOCKET FAIL 00113).

I would appreciate any thoughts on the issue.
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3049
Location: NYC,USA

PostPosted: Thu Jun 30, 2016 1:53 am
Reply with quote

Welcome!!
Please consult site support for such issues but looks like you are one amongst them.
check this and this.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Jun 30, 2016 2:17 am
Reply with quote

Have you looked at Connecting CICS with TCP/IP or Red Paper 4906, mentioned in the Share presentation? You will almost certainly have to work with your site support group on the TCP/IP requirements.
Back to top
View user's profile Send private message
akont

New User


Joined: 25 Jun 2016
Posts: 2
Location: Greece

PostPosted: Fri Jul 01, 2016 4:50 pm
Reply with quote

Thank you for your answers.

The Share 2015 presentation was something i had not seen before and is useful generally.

Regarding my question, fyi, I have contacted IBM and it seems that it is not supported.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts Parallelization in CICS to reduce res... CICS 4
No new posts How to avoid duplicating a CICS Web S... CICS 0
Search our Forums:

Back to Top