Ira,

Good point.  I always tend to answer queries such as this by pointing
to the base system enablers found in OS/400.  Quite often companies
such as yours provide an offering which insulates the end developer
from having to work directly with system/network/whatever internals, and
instead work on advancing their companies productive use of the system
in meeting end user requirements.

Bruce Vining

>
>Our company, (and others,) publishes a commercial program that
>allow you to use the sockets interface with NO programming.
>Our interface is through one incoming data queue and one
>outgoing data queue.  You would configure the software to
>run in *TCP mode in the *CLIENT role and connect to the
>telnet port (usually 23) on the unix machine.  You would
>QRCVDTAQ the lines of text from the incoming queue, as respond
>with username and password as needed.  Then, simply sending
>the text you want to populate the telnet session with, you
>can navigate to the screen you want and plug in whatever
>data you desire.  You would not have to know ANYTHING about
>telnet or sockets or anything, just what the screens look
>like coming from the unix box.
>
>Frankly, this is simple, once the sockets link is in place.
>Your program sends what you would key in directly to the
>telnet session yourself.
>
>Ira Chandler, Technical Services, ROI Corporation
>ira@roiconnect.com   800-396-7641 x512  http://roiconnect.com
>
>------------------------------
>
>>Date: Mon, 19 Oct 98 15:25:43 CDT
>>From: bvining@VNET.IBM.COM
>>Subject: RPGILE and TELNET
>>Two approaches come to mind.  The first is, as others have pointed out,
>>to use the sockets interfaces documented in the System API Reference.
>>The second would be to use the Virtual Terminal APIs also documented in
>>the same manual.
>>The former will require a great deal of knowledge related to Telnet
>>data flow; the latter will call for no knowledge of Telnet per se, but
>>will require knowledge of the 5250 data stream (what you will get in the
>>RPG program is the 5250 equivalent of the Telnet panel) and you will
>>want a copy of the 5494 Functions Reference handy if you go this way.
>>Bruce Vining
>>>
>>>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
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.