Re: XMITIP Socket failure (was: Batch E-Mail)

2009-04-16 Thread Lionel B Dyck
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: lionel.b.d...@kp.org 
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 mark.ste...@wnco.com
To:
IBM-MAIN@bama.ua.edu
Date:
04/15/2009 03:53 PM
Subject:
Re: XMITIP Socket failure (was: Batch E-Mail)
Sent by:
IBM Mainframe Discussion List IBM-MAIN@bama.ua.edu



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:ibm-m...@bama.ua.edu] On
Behalf Of Patrick O'Keefe
Sent: Wednesday, April 15, 2009 5:27 PM
To: IBM-MAIN@bama.ua.edu
Subject: Re: XMITIP Socket failure (was: Batch E-Mail)

On Wed, 15 Apr 2009 17:17:00 -0500, Mark Steely mark.ste...@wnco.com
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

--
For IBM-MAIN subscribe / signoff / archive access instructions, send
email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search
the archives at http://bama.ua.edu/archives/ibm-main.html
 
 
 
 
 
 
*** 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.

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


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


Re: XMITIP Socket failure (was: Batch E-Mail)

2009-04-16 Thread Lionel B Dyck
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: lionel.b.d...@kp.org 
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 mark.ste...@wnco.com
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: lionel.b.d...@kp.org [mailto:lionel.b.d...@kp.org] 
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: lionel.b.d...@kp.org 
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 mark.ste...@wnco.com 
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:ibm-m...@bama.ua.edu] On
Behalf Of Lionel B Dyck
Sent: Thursday, April 16, 2009 9:09 AM
To: IBM-MAIN@bama.ua.edu
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: lionel.b.d...@kp.org
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 mark.ste...@wnco.com
To:
IBM-MAIN@bama.ua.edu
Date:
04/15/2009 03:53 PM
Subject:
Re: XMITIP Socket failure (was: Batch E-Mail) Sent by:
IBM Mainframe Discussion List IBM-MAIN@bama.ua.edu



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:ibm-m...@bama.ua.edu] On
Behalf Of Patrick O'Keefe
Sent: Wednesday, April 15, 2009 5:27 PM
To: IBM-MAIN@bama.ua.edu
Subject: Re: XMITIP Socket failure (was: Batch E-Mail)

On Wed, 15 Apr 2009 17:17:00 -0500, Mark Steely mark.ste...@wnco.com
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

Re: XMITIP Socket failure (was: Batch E-Mail)

2009-04-16 Thread Mark Steely
I have all those libraries in the LNK  LPA list. What domain name is it
trying to query?



From: lionel.b.d...@kp.org [mailto:lionel.b.d...@kp.org] 
Sent: Thursday, April 16, 2009 11:25 AM
To: Mark Steely; IBM-MAIN@BAMA.UA.EDU
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: lionel.b.d...@kp.org
mailto:lionel.b.d...@kp.org  
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 mark.ste...@wnco.com 
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: lionel.b.d...@kp.org [mailto:lionel.b.d...@kp.org
mailto:lionel.b.d...@kp.org ] 
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: lionel.b.d...@kp.org
mailto:lionel.b.d...@kp.org  
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 mark.ste...@wnco.com 
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:IBM-MAIN@bama.ua.edu
mailto:IBM-MAIN@bama.ua.edu ] On
Behalf Of Lionel B Dyck
Sent: Thursday, April 16, 2009 9:09 AM
To: IBM-MAIN@bama.ua.edu
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: lionel.b.d...@kp.org
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

Re: XMITIP Socket failure (was: Batch E-Mail)

2009-04-16 Thread Lionel B Dyck
It is trying to query the domain of the active z/OS system.

It is possible you don't have the rexx sockets in the lpa/linklist - i 
don't recall the library for that.

Lionel B. Dyck, Consultant/Specialist 
Enterprise Platform Services, Mainframe Engineering 
KP-IT Enterprise Engineering 
925-926-5332 (8-473-5332) | E-Mail: lionel.b.d...@kp.org 
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 mark.ste...@wnco.com
To:
IBM-MAIN@bama.ua.edu
Date:
04/16/2009 10:53 AM
Subject:
Re: XMITIP Socket failure (was: Batch E-Mail)
Sent by:
IBM Mainframe Discussion List IBM-MAIN@bama.ua.edu



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



From: lionel.b.d...@kp.org [mailto:lionel.b.d...@kp.org] 
Sent: Thursday, April 16, 2009 11:25 AM
To: Mark Steely; IBM-MAIN@BAMA.UA.EDU
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: lionel.b.d...@kp.org
mailto:lionel.b.d...@kp.org 
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 mark.ste...@wnco.com 
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: lionel.b.d...@kp.org [mailto:lionel.b.d...@kp.org
mailto:lionel.b.d...@kp.org ] 
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: lionel.b.d...@kp.org
mailto:lionel.b.d...@kp.org 
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 mark.ste...@wnco.com 
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

Re: XMITIP Socket failure (was: Batch E-Mail)

2009-04-16 Thread Lionel B Dyck
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_hostiddesc 
  str= Socket('GetHostname') 
  Parse Var str sockrc tcp_hostname  desc 
  /* strip low value in tcp_hostname   */ 
  parse var tcp_hostname tcp_hostname 00x . 
  str= Socket('GetDomainName')   
  Parse Var str sockrc tcp_domaindesc 
  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: lionel.b.d...@kp.org 
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 mark.ste...@wnco.com
To:
Lionel B Dyck/CA/kaip...@kaiperm
Cc:
IBM-MAIN@BAMA.UA.EDU
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: lionel.b.d...@kp.org [mailto:lionel.b.d...@kp.org] 
Sent: Thursday, April 16, 2009 12:50 PM
To: Mark Steely
Cc: IBM-MAIN@BAMA.UA.EDU
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: lionel.b.d...@kp.org 
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 mark.ste...@wnco.com 
To: 
Lionel B Dyck/CA/kaip...@kaiperm, IBM-MAIN@BAMA.UA.EDU 
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: lionel.b.d...@kp.org [mailto:lionel.b.d...@kp.org] 
Sent: Thursday, April 16, 2009 11:25 AM
To: Mark Steely; IBM-MAIN@BAMA.UA.EDU
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

Re: XMITIP Socket failure (was: Batch E-Mail)

2009-04-16 Thread Mark Steely
Thanks for the REXX routine to verify the setup -  To make the REXX
routine and the XMITIP work was to add the TCPIP SEZALNK2, SEZATCP, and
SEZALOAD  
 libraries as steplibs and add the SYSTCPD dd statement. I think I had
to do that because we have 2 different TCPIP stack executing (IBM  CA).
The XMITIP does not abend anymore. Thanks for all your help and
research. I will let you know if it works with the IBM SCRT email site. 
 
Thank You



From: lionel.b.d...@kp.org [mailto:lionel.b.d...@kp.org] 
Sent: Thursday, April 16, 2009 1:55 PM
To: Mark Steely
Cc: IBM-MAIN@BAMA.UA.EDU
Subject: RE: XMITIP Socket failure (was: Batch E-Mail)


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_hostiddesc   
  str= Socket('GetHostname') 
  Parse Var str sockrc tcp_hostname  desc   
  /* strip low value in tcp_hostname   */   
  parse var tcp_hostname tcp_hostname 00x .   
  str= Socket('GetDomainName')   
  Parse Var str sockrc tcp_domaindesc   
  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 


 



   
   
 
   
   
  
*** 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.

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


XMITIP Socket failure (was: Batch E-Mail)

2009-04-15 Thread Patrick O'Keefe
On Wed, 15 Apr 2009 16:37:44 -0500, Mark Steely 
mark.ste...@wnco.com wrote:

Mostly just changing the subject so this problem doesn't get buried
in our email rant thread.   This could be a serious problem.

I am receiving the following messages after installation on the IVP job
steps:

IRX0250E System abend code 0C4, reason code 0017.
IRX0253E Abend in external function SOCKET.
XMITIP:   XMITIP Application level: 09.03
...

There is an XMITIP user's forum - a Yahoo group.  You might see
if you can still sign up for it.

You are using UDSMTP rather than the z/OS SMTP daemon I
gather.  (I don't know why else XMITIP would do anything with 
a socket.)  Hopefully someone more familiar with this than I
will jump in, but there is a description of requirements listed
in member XMITSOCK in the XMITIP EXEC library.

Lionel may not be providing any more fixes to the product.
(Sort like the Energizer Bunny finally running down ... having his 
battery pulled.  I suspect he's even less happy about it than 
we are.)

 Pat O'Keefe

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


Re: XMITIP Socket failure (was: Batch E-Mail)

2009-04-15 Thread Mark Steely
I am not using UDSMTP.  

-Original Message-
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On
Behalf Of Patrick O'Keefe
Sent: Wednesday, April 15, 2009 5:05 PM
To: IBM-MAIN@bama.ua.edu
Subject: XMITIP Socket failure (was: Batch E-Mail)

On Wed, 15 Apr 2009 16:37:44 -0500, Mark Steely mark.ste...@wnco.com
wrote:

Mostly just changing the subject so this problem doesn't get buried
in our email rant thread.   This could be a serious problem.

I am receiving the following messages after installation on the IVP job
steps:

IRX0250E System abend code 0C4, reason code 0017.
IRX0253E Abend in external function SOCKET.
XMITIP:   XMITIP Application level: 09.03
...

There is an XMITIP user's forum - a Yahoo group.  You might see if you
can still sign up for it.

You are using UDSMTP rather than the z/OS SMTP daemon I gather.  (I
don't know why else XMITIP would do anything with a socket.)  Hopefully
someone more familiar with this than I will jump in, but there is a
description of requirements listed in member XMITSOCK in the XMITIP EXEC
library.

Lionel may not be providing any more fixes to the product.
(Sort like the Energizer Bunny finally running down ... having his
battery pulled.  I suspect he's even less happy about it than we are.)

 Pat O'Keefe

--
For IBM-MAIN subscribe / signoff / archive access instructions, send
email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search
the archives at http://bama.ua.edu/archives/ibm-main.html
   
   
 
   
   
  
*** 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.

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


Re: XMITIP Socket failure (was: Batch E-Mail)

2009-04-15 Thread Patrick O'Keefe
On Wed, 15 Apr 2009 17:17:00 -0500, Mark Steely 
mark.ste...@wnco.com 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

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


Re: XMITIP Socket failure (was: Batch E-Mail)

2009-04-15 Thread Mark Steely
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:ibm-m...@bama.ua.edu] On
Behalf Of Patrick O'Keefe
Sent: Wednesday, April 15, 2009 5:27 PM
To: IBM-MAIN@bama.ua.edu
Subject: Re: XMITIP Socket failure (was: Batch E-Mail)

On Wed, 15 Apr 2009 17:17:00 -0500, Mark Steely mark.ste...@wnco.com
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

--
For IBM-MAIN subscribe / signoff / archive access instructions, send
email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search
the archives at http://bama.ua.edu/archives/ibm-main.html
   
   
 
   
   
  
*** 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.

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


Re: XMITIP Socket failure (was: Batch E-Mail)

2009-04-15 Thread Patrick O'Keefe
I rarely (like twice now) do batch executions of XMITIP but I just tried
a batch execution of XMITIP 09.03 and got no errors.

Can you post a copy of the IVP (with enough stuff munged to satisfy 
your minders)?

Pat O'Keefe


On Wed, 15 Apr 2009 17:51:12 -0500, Mark Steely mark.ste...@wnco.com wrote:

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

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