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
 

 

Diagnose SOCKET("CONNETC") timeout

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
John L. McConnell

New User


Joined: 10 Dec 2010
Posts: 11
Location: Orlando, FL

PostPosted: Fri Dec 10, 2010 4:47 am    Post subject: Diagnose SOCKET("CONNETC") timeout
Reply with quote

The REXX SOCKET interface provides SOCKET functions to facilitate TCP/IP communication in a REXX program. I have successfully issued the following SOCKET function calls: INITIALIZE, SOCKET, SETSOCKOPT, and GETHOSTBYNAME. But when I call BIND or CONNECT using the IP address returned by the GETHOSTBYNAME call, the BIND or CONNECT times out. A ping to the IP address, however, is successful. What tools are there for diagnosing such a timeout? I looked in the JES log of the TCPIP STC and found no further diagnostic information. Many thanks in advance for any help I receive.
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Dec 10, 2010 10:33 am    Post subject:
Reply with quote

Hello and welcome to the forum,

Not my area but - Is the port you are using available for your connection?

I recommend asking the people who provide network support for the system. They should know which diagnostic tools are avalable.
Back to top
View user's profile Send private message
John L. McConnell

New User


Joined: 10 Dec 2010
Posts: 11
Location: Orlando, FL

PostPosted: Mon Dec 13, 2010 8:26 pm    Post subject: Resolved.
Reply with quote

It was not a REXX issue. It was a network issue. The mainframe on which I'm working is a test LPAR, and there turns out to be a firewall around it. Once the firewall was updated to allow my user ID to get through, all the SOCKET functions worked perfectly. Many thanks to all who helped.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Dec 13, 2010 9:23 pm    Post subject: Reply to: Diagnose SOCKET("CONNETC") timeout
Reply with quote

Good to hear it has been resolved - thanks for letting us know icon_smile.gif

d
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 -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Changeman get multiple "Browse C... elixir1986 Compuware & Other Tools 4 Fri Jul 14, 2017 1:48 am
No new posts Include/omit with "ALL" pa... mgl DFSORT/ICETOOL 6 Wed Jun 14, 2017 2:31 pm
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm
No new posts RC 20 for Address ISPEXEC "ISRED... pkmurali CLIST & REXX 3 Sun Apr 16, 2017 11:30 pm
No new posts CICS Transaction Timeout Hooman24 CICS 2 Sun Apr 16, 2017 2:16 pm


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