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

Diagnose SOCKET("CONNETC") timeout


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
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
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

Moderator Emeritus


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

PostPosted: Fri Dec 10, 2010 10:33 am
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
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

Moderator Emeritus


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

PostPosted: Mon Dec 13, 2010 9:23 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts PuTTY - "User is not a surrogate... IBM Tools 5
No new posts Newbie Stuck on "Duplicate Datas... TSO/ISPF 5
No new posts RABBIT HOLE NEEDED - "Live"... All Other Mainframe Topics 0
No new posts Using PARM=('JPn"&SYMBOL&quo... DFSORT/ICETOOL 2
No new posts Syncsort "Y2C" Function SYNCSORT 1
Search our Forums:

Back to Top