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: 2637
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: 8569
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 Prod parallel execution on mainframe ... CICS 0
No new posts COBOL/CICS Emulators CICS 4
No new posts DFHLS2WS WSDL com.ibm.cics.wsdl.prope... CICS 0
No new posts How to get RBA value from CICS EVENT CICS 5
This topic is locked: you cannot edit posts or make replies. Sample CICS Webservices Program CICS 1
Search our Forums:

Back to Top