>From the ibm pub on rexx sockets: 
The EZBRXSOC load module is defined with two load module |aliases: 
RXSOCKET and SOCKET. When a program invokes the REXX socket function, 
|either the load module or an alias is called. The load module and its 
aliases |reside in the TCPIP.SEZALOAD data set. The examples in this 
documentation |use the SOCKET alias. 

Requirement: 
The EZBRXSOC |load module and its aliases must be included in one of the 
following items: | | 
The system LNKLST 
The STEPLIB DD concatenation of the job that is running the program that 
|uses REXX sockets

The code is failing on the test for the socket: 

        str    = Socket('Terminate') 

It isn't getting far enough to do the actual query. 

if that works then it does this chunk of code: 

str    = Socket('initialize', _anyname_)             
Parse Var str sockrc _response_ 
if sockrc = 0 , 
then do;                                             
      Parse Var str sockrc ,                         
                   subtaskid _socks_ tcp_name 
      str    = Socket('GetHostId')                   
      Parse Var str sockrc tcp_hostid    desc 
      str    = Socket('GetHostname')                 
      Parse Var str sockrc tcp_hostname  desc 
      /* strip low value in tcp_hostname       */ 
      parse var tcp_hostname tcp_hostname "00"x . 
      str    = Socket('GetDomainName')               
      Parse Var str sockrc tcp_domain    desc 
      str    = Socket('Terminate')                   
     end;                                           

Here is a short exec to verify that you have the sockets and z/OS tcp/ip 
installed and configured cleanly: 

/* rexx */ 
res= Socket('Initialize','ANYNAME')                       
host=      Socket('GetHostId') 
name=      Socket('GetHostname') 
hostname = word(Socket('GetHostByAddr',word(host,2)),2)   
domain_name= word(Socket('GetDomainName'),2) 
res= Socket('Terminate') 
say hostname 
say domain_name                                           

hope this helps 

Lionel B. Dyck, Consultant/Specialist 
Enterprise Platform Services, Mainframe Engineering 
KP-IT Enterprise Engineering 
925-926-5332 (8-473-5332) | E-Mail: [email protected] 
AIM: lbdyck | Yahoo IM: lbdyck 
Kaiser Service Credo: "Our cause is health. Our passion is service. We?re 
here to make lives better.? 

?Never attribute to malice what can be caused by miscommunication.? 

NOTICE TO RECIPIENT: If you are not the intended recipient of this e-mail, 
you are prohibited from sharing, copying, or otherwise using or disclosing 
its contents. If you have received this e-mail in error, please notify the 
sender immediately by reply e-mail and permanently delete this e-mail and 
any attachments without reading, forwarding or saving them. Thank you. 



From:
"Mark Steely" <[email protected]>
To:
Lionel B Dyck/CA/kaip...@kaiperm
Cc:
<[email protected]>
Date:
04/16/2009 11:47 AM
Subject:
RE: XMITIP Socket failure (was: Batch E-Mail)



Where does it get the domain name from (the system or parms) maybe I have 
the parm wrong for the socket call. Why is it doing the socket call when 
the method I have specified is SMTP. 
 
Thank You

From: [email protected] [mailto:[email protected]] 
Sent: Thursday, April 16, 2009 12:50 PM
To: Mark Steely
Cc: [email protected]
Subject: RE: XMITIP Socket failure (was: Batch E-Mail)

The domain of the current z/os system 
Lionel B. Dyck, Consultant/Specialist 
Enterprise Platform Services, Mainframe Engineering 
KP-IT Enterprise Engineering 
925-926-5332 (8-473-5332) | E-Mail: [email protected] 
AIM: lbdyck | Yahoo IM: lbdyck 
Kaiser Service Credo: "Our cause is health. Our passion is service. We?re 
here to make lives better.? 

?Never attribute to malice what can be caused by miscommunication.? 

NOTICE TO RECIPIENT: If you are not the intended recipient of this e-mail, 
you are prohibited from sharing, copying, or otherwise using or disclosing 
its contents. If you have received this e-mail in error, please notify the 
sender immediately by reply e-mail and permanently delete this e-mail and 
any attachments without reading, forwarding or saving them. Thank you. 


From: 
"Mark Steely" <[email protected]> 
To: 
Lionel B Dyck/CA/kaip...@kaiperm, <[email protected]> 
Date: 
04/16/2009 10:48 AM 
Subject: 
RE: XMITIP Socket failure (was: Batch E-Mail)




I have all those libraries in the LNK & LPA list. What domain name is it 
trying to query? 

From: [email protected] [mailto:[email protected]] 
Sent: Thursday, April 16, 2009 11:25 AM
To: Mark Steely; [email protected]
Subject: RE: XMITIP Socket failure (was: Batch E-Mail)

I found the routine that is generating the error.  It is the routine in 
XMITIPCU that attempts to query the current host domain name. 

Apparently you do not have your z/OS TCP/IP libraries in either linklist, 
lpalist or steplib. 

In our LPALIST we have SYS1.TCPIP.SEZALPA 
and in our LINKLIST we have TCPIP.SEZALOAD and TCPIP.SEZALNK2   

Try adding them to your steplib for the job and see if that helps. 

The error is in this statement:  str    = Socket('Terminate') 

which is used to test to see if the socket interface is active. 

hope this helps 
Lionel B. Dyck, Consultant/Specialist 
Enterprise Platform Services, Mainframe Engineering 
KP-IT Enterprise Engineering 
925-926-5332 (8-473-5332) | E-Mail: [email protected] 
AIM: lbdyck | Yahoo IM: lbdyck 
Kaiser Service Credo: "Our cause is health. Our passion is service. We?re 
here to make lives better.? 

?Never attribute to malice what can be caused by miscommunication.? 

NOTICE TO RECIPIENT: If you are not the intended recipient of this e-mail, 
you are prohibited from sharing, copying, or otherwise using or disclosing 
its contents. If you have received this e-mail in error, please notify the 
sender immediately by reply e-mail and permanently delete this e-mail and 
any attachments without reading, forwarding or saving them. Thank you. 

From: 
"Mark Steely" <[email protected]> 
To: 
Lionel B Dyck/CA/kaip...@kaiperm 
Date: 
04/16/2009 08:45 AM 
Subject: 
RE: XMITIP Socket failure (was: Batch E-Mail)





Attached it the output of the job.......The parms were correct. 
 
Thank You 

From: [email protected] [mailto:[email protected]] 
Sent: Thursday, April 16, 2009 10:32 AM
To: Mark Steely
Subject: RE: XMITIP Socket failure (was: Batch E-Mail)

In XMITIPCU make these changes: 

      batch_idval = 1          /* Do Not Allow in Batch or ISPF    */ 
      validfrom = 0        /* do not validate */ 

Please verify that         smtp_method = "SMTP" 

Then if you still have the SOCKETS issue we'll need to find out where in 
the code that is occurring by adding 'EXECUTIL TS' in your SYSTSIN before 
the %xmitip command 

let me know 
Lionel B. Dyck, Consultant/Specialist 
Enterprise Platform Services, Mainframe Engineering 
KP-IT Enterprise Engineering 
925-926-5332 (8-473-5332) | E-Mail: [email protected] 
AIM: lbdyck | Yahoo IM: lbdyck 
Kaiser Service Credo: "Our cause is health. Our passion is service. We?re 
here to make lives better.? 

?Never attribute to malice what can be caused by miscommunication.? 

NOTICE TO RECIPIENT: If you are not the intended recipient of this e-mail, 
you are prohibited from sharing, copying, or otherwise using or disclosing 
its contents. If you have received this e-mail in error, please notify the 
sender immediately by reply e-mail and permanently delete this e-mail and 
any attachments without reading, forwarding or saving them. Thank you. 
From: 
"Mark Steely" <[email protected]> 
To: 
Lionel B Dyck/CA/kaip...@kaiperm 
Date: 
04/16/2009 08:10 AM 
Subject: 
RE: XMITIP Socket failure (was: Batch E-Mail)






Here is what I have:

LDAP Lookup/Validation Info: 
   ldap_server: 0 
        ldap_o: LDAP_O 
        ldap_d: -D userid 
        ldap_w: -w password 
   local_nodes: LOCAL_NODES 

What parm should I be looking for to disable LDAP ?

Thank You 
 


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On
Behalf Of Lionel B Dyck
Sent: Thursday, April 16, 2009 9:09 AM
To: [email protected]
Subject: Re: XMITIP Socket failure (was: Batch E-Mail)

Do you perhaps have LDAP enabled? That is the only other possibility for
the SOCKET issue.

Run the TESTCU exec and see what it reports for ldap and ip
addresses/dns names and ensure they are all set properly in XMITIPCU.

good luck

Lionel B. Dyck, Consultant/Specialist
Enterprise Platform Services, Mainframe Engineering KP-IT Enterprise
Engineering
925-926-5332 (8-473-5332) | E-Mail: [email protected]
AIM: lbdyck | Yahoo IM: lbdyck
Kaiser Service Credo: "Our cause is health. Our passion is service.
We?re here to make lives better.? 

?Never attribute to malice what can be caused by miscommunication.? 



From:
Mark Steely <[email protected]>
To:
[email protected]
Date:
04/15/2009 03:53 PM
Subject:
Re: XMITIP Socket failure (was: Batch E-Mail) Sent by:
IBM Mainframe Discussion List <[email protected]>



It just sending me a simple email through batch. I am receiving the
email but I get the socket error message. 

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On
Behalf Of Patrick O'Keefe
Sent: Wednesday, April 15, 2009 5:27 PM
To: [email protected]
Subject: Re: XMITIP Socket failure (was: Batch E-Mail)

On Wed, 15 Apr 2009 17:17:00 -0500, Mark Steely <[email protected]>
wrote:

>I am not using UDSMTP.

I should have said UDSMTP or XMITSOCK.
If you aren't using either of them XMITIP shouldn't be using sockets. 

What is your IVP trying to do? 

Pat O'Keefe

 
 
 
 
 

                         ******* CONFIDENTIALITY NOTICE *******

This e-mail message and all attachments transmitted with it may
contain legally privileged and confidential information intended
solely for the use of the addressee. If the reader of this message
is not the intended recipient, you are hereby notified that any
reading, dissemination, distribution, copying, or other use of this
message or its attachments is strictly prohibited. If you have
received this message in error, please notify the sender
immediately and delete this message from your system. Thank you.
[attachment "ivp1.txt" deleted by Lionel B Dyck/CA/KAIPERM] 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to