Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

TCP/IP Socket: IUCV error 1004 under BBI

518 views
Skip to first unread message

Werner Nussbaumer

unread,
Jan 29, 2003, 7:57:47 AM1/29/03
to
I tried to initialize the socket function using the following statements:

ret = Socket('Initialize', 'RexxWhoo', 2)
parse var ret s_rc s_subtask s_maxdesc s_servicename socket_rc
If s_rc <> 0 then,
Do
say 'DNS-NAME: ERROR: Unable to Initiate SOCKET' s_rc
End

If I execute this function directly under TSO then the function works. Under
BBI it terminates with result code 1004: "1004 | EIBMIUCVERR | IUCV error".

Does anyone know what could cause this problem?

Thanks a lot in advance,
regards
Werner Nussbaumer

----------------------------------------------------------------------
For TSO-REXX subscribe / signoff / archive access instructions,
send email to LIST...@VM.MARIST.EDU with the message: INFO TSO-REXX

Davage, Marcus

unread,
Jan 29, 2003, 8:39:22 AM1/29/03
to
You're missing the RACF OVMS segment which allows access to TCP services.

Marcus Davage CEng MBCS
IBM Certified Solutions Expert
DB2 UDB V7.1 Database Administration for UNIX, Linux, Windows and OS/2
DB2 UDB V7.1 Database Administration for OS/390

-----------------------------------------------------------------------------------------------------------------------
This e-mail is intended only for the above addressee. It may contain
privileged information. If you are not the addressee you must not copy,
distribute, disclose or use any of the information in it. If you have
received it in error please delete it and immediately notify the sender.

evolvebank.com is a division of Lloyds TSB Bank plc.
Lloyds TSB Bank plc, 71 Lombard Street, London EC3P 3BS. Registered in
England, number 2065. Telephone No: 020 7626 1500
Lloyds TSB Scotland plc, Henry Duncan House, 120 George Street,
Edinburgh EH2 4LH. Registered in Scotland, number 95237. Telephone
No: 0131 225 4555

Lloyds TSB Bank plc and Lloyds TSB Scotland plc are regulated by the
Financial Services Authority and represent only the Scottish Widows
and Lloyds TSB Marketing Group for life assurance, pensions and
investment business.

Signatories to the Banking Codes.
-----------------------------------------------------------------------------------------------------------------------

Werner Nussbaumer

unread,
Jan 29, 2003, 8:54:04 AM1/29/03
to
Thank you Marcus, yes that was the reason. Now it works.

Regards
Werner Nussbaumer

mille...@gmail.com

unread,
Mar 10, 2014, 1:16:17 PM3/10/14
to
I realize this post was answered many years ago, but I received the "INITIALIZE TCP/IP socket call failed, RC=1004, Reason=EIBMIUCVERR IUCV" today and I have a OMVS segment defined.

My error turned out to be I incorrectly coded the 4th parameter of the Socket('INITIALIZE') which the books says is the name of the TCP/IP 'service'. I had coded 'TCPIP' and the correct service on my LPAR was TCPIP13.

So if you suffer the 1004 error and it's not the OMVS segment check and see if you are coding the service name on the Socket('INITIALIZE'), and if you do it needs to be right.

Don Miller
StreamFoundry
0 new messages