|
I hope you're not looking for a simple solution. You will need to be able to utilize sockets which you can't do directly with RPG but there are third party products that provide API's to sockets functions - how useful they'll be for this sort of application, I don't know. You'll also have to understand the TELNET protocol which on the surface is simple enough but in implementation can be tricky. Most TELNET client programs are written in C and use a finite state machine (FSM) design which I've never seen done in RPG before. > -----Original Message----- > From: Joel Belcher [SMTP:joel@ohanagroup.com] > Sent: Thursday, October 15, 1998 7:40 PM > To: MIDRANGE-L@midrange.com > Subject: Re: RPGILE and TELNET > > When you telnet to another system it opens and connects to the socket > port > setup for telnet services in the IP services file (normally port 23). > I > don't know if you can use sockets support with ILERPG, but it might be > worth > checking into. I know you can do this with C and normally a special > program > is written for each system, like using ICF between two 400s. > -----Original Message----- > From: Bruce Odum <bodum@magicnet.net> > To: MIDRANGE-L@midrange.com <MIDRANGE-L@midrange.com> > Date: Thursday, October 15, 1998 6:07 PM > Subject: RPGILE and TELNET > > > >Is it possible to write a ILE RPG program to communicate with a Unix > box > >that only supports communications through a telnet session. Can this > be > >done and if so how would you go about doing this. Thanks in advance > > > > > >+--- > >| This is the Midrange System Mailing List! > >| To submit a new message, send your mail to MIDRANGE-L@midrange.com. > >| To subscribe to this list send email to > MIDRANGE-L-SUB@midrange.com. > >| To unsubscribe from this list send email to > MIDRANGE-L-UNSUB@midrange.com. > >| Questions should be directed to the list owner/operator: > david@midrange.com > >+--- > > +--- > | This is the Midrange System Mailing List! > | To submit a new message, send your mail to MIDRANGE-L@midrange.com. > | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. > | To unsubscribe from this list send email to > MIDRANGE-L-UNSUB@midrange.com. > | Questions should be directed to the list owner/operator: > david@midrange.com > +--- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.