Dear Group,

   I get calls about CICS sockets and TN3270 sockets.  When all I needed to do 
was find out if an IP Address was up I just did a PING.  Back when PING went 
through the network end-to-end.

   I have been reading the z/OS V1R12.0 Comm Svr: IP Sockets Application 
Programming Interface Guide and Reference.  We now have z/OS V2R1.  My REXX 
EXEC can do a: src = socket("VERSION"); <== Figure 170. VERSION command example.

   To use the socket commands provided by the REXX socket function, a socket 
set must be active.  To allocate a socket set, use the INITIALIZE socket 
command.  The INITIALIZE command creates a socket set and can support multiple 
socket calls.

  In the book are a bunch of REXX socket sample programs <== Table 21. REXX 
socket sample programs.  In the book it says: "The LISTEN command applies only 
to stream sockets".  I would like to verify if I can hit my CICS Web Services 
socket.  My TCPIPSERVICE shows OPEN for PORT 1492.

Q).  Are CICS Web Services port 1492 and TN3270 port 23 "Stream sockets"?


   Currently all is working.  I would like my REXX EXEC to be non-disruptive 
(and not cause a denial of service).  The REXX socket sample programs use 
INITIALIZE.  It says it will preallocate a socket set.  A socket set is a 
number of pre allocated sockets available to a single REXX application.

Q).   Does my REXX EXEC need to have a socket to determine if one CICS socket 
is working?  The VERSION worked without specifying a socket number.  If anyone 
has done this before, are REXX socket functions the best way to "PING" a TCP/IP 
PORT?



     Thank you,  Dave


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to