Path: utzoo!attcan!uunet!wuarchive!brutus.cs.uiuc.edu!ux1.cso.uiuc.edu!tank!gargoyle!igloo!ddsw1!vijay From: vijay@ddsw1.MCS.COM (Vijay Gurbani) Newsgroups: comp.unix.questions Subject: Communication b/w IBM and UNIX using sockets Keywords: telnet, IBM 4300, UNIX, sockets Message-ID: <1990May31.040725.22333@ddsw1.MCS.COM> Date: 31 May 90 04:07:25 GMT References: <405@oss670.UUCP> <1680@tkou02.enet.dec.com> Reply-To: vijay@ddsw1.MCS.COM (Vijay Gurbani) Organization: ddsw1.MCS.COM Contributor, Wheeling, IL Lines: 33 Hello NetFolks: Need some help/advice on the following: I am trying to bridge a gap between a UNIX box and an IBM 4300. I have to access a CICS application on a remote IBM 4300 (that supposedly has telnet running on it). At my disposal is a UNIX box. My job is to write a program that logs on to the 4300, accesses the CICS application and transfers data to and fro the UNIX box. Since this has to be a program that can be run without operator intervention, my program should be smart enough to log on the IBM and interact with the CICS application. The solution I thought is: get the port number on which the telnet on the 4300 is running, and open a socket from my UNIX box to the remote 4300. To the telnet on the 4300, it would appear that the connexion from the UNIX is being run by a person. So it will send the login and password prompts through the socket to my UNIX program, which would in turn send the login name and the password through the socket. Once the connexion is established, data- flow can occur via the sockets. Has anyone out there ever come close to duplicating this? Is my solution okay, or are there any flaws (I am not the remotely familiar with IBM main- frames, so if there are any flaws above, please let me know). If anyone has had any experience with this, and are willing to share it....gimme a try. Thanks in advance...... -vijay -- Vijay Gurbani | Joke of the Day: vijay@ddsw1.mcs.com | Q: How do you know a DeLorean has been down a Chicago, IL | Highway? Occupation: Rent-a-Tech | A: The white center lines are missing!!! :-) -- -- Vijay K. Gurbani | You know you are having a bad day when the IRS vijay@ddsw1.MCS.COM | determines that the refund they gave you is Chicago, IL | TAXABLE INCOME!!!