Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

CICS SOCKET shared between two transactions

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: CICS SOCKET shared between two transactions
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

Senior Member


Joined: 21 Sep 2010
Posts: 1609
Location: NY,USA

PostPosted: Thu Jun 30, 2016 1:53 am    Post subject:
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: 7904
Location: Bellevue, IA

PostPosted: Thu Jun 30, 2016 2:17 am    Post subject:
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    Post subject: Reply to: CICS SOCKET shared between two transactions
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm
No new posts CICS NEW SIT PARAMETERS CICS BEHAVIOR... Kyle Carroll CICS 0 Fri Nov 04, 2016 11:55 pm
No new posts Single COPY CICS TS datasets and when... Kyle Carroll CICS 2 Tue Oct 11, 2016 9:47 pm
No new posts CICS VSAM RLS READ akodakka CICS 3 Tue Oct 04, 2016 3:09 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us