Communication b/w IBM and UNIX using sockets

Vijay Gurbani vijay at ddsw1.MCS.COM
Thu May 31 14:07:25 AEST 1990


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 at 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 at ddsw1.MCS.COM   | determines that the refund they gave you is 
Chicago, IL           | TAXABLE INCOME!!! 



More information about the Comp.unix.questions mailing list