× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hello Chris,

You wrote:
>Has any one been able to use the Telnet Client in OS400 to talk purely
>EBCDIC?  I am trying to use it to test a socket server that does not need
>to translate from ASCII to EBCDIC.

The Telnet protocol is generally ASCII.  The protocol does allow for
extensions which allow a client and server to negotiate binary
transmission (which could result in EBCDIC data flow and indeed does for
TN5250) along with many other variables.  See RFC 856 (or replacement) for
IAC WILL TRANSMIT-BINARY and IAC DO TRANSMIT-BINARY negotiation.

>All data is in EBCDIC but the Telnet Client always send data in ASCII.  I
>have tried using several of the translate in/out table parms, setting
>them to *LIBL/QEBCDIC but to no avail.

If you create a translation table that converts EBCDIC to EBCDIC
(essentially no translation) and specified that on the AS/400 TELNET
command you would possibly be OK.  However, that is effectively what using
QEBCDIC is doing.

You could also write your server to negotiate TRANSMIT-BINARY to indicate
that no data translation will occur.  Normally that is used to handle 5250
and 3270 emulation but should be valid in all modes.  The AS/400 Telnet
client may handle that since it accepts data in EBCDIC but a PC Telnet
client will not help since it expects data in ASCII and TN3270 or TN5250
clients will expect the responses as a correctly formatted, encapsulated
data stream (in EBCDIC)

See RFCs: 854, 856, 885, 1091, 1205, and 1572 (or their later
replacements) for the Telnet negotiation details.  However, if my EBCDIC
translation table suggestion doesn't work then I think it would be easier
to write a simple client that talked to your server for testing purposes
or change your server to expect ASCII data (then it could receive data
from any client).

Regards,
Simon Coulter.
--------------------------------------------------------------------
   FlyByNight Software         AS/400 Technical Specialists
   http://www.flybynight.com.au/

   Phone: +61 3 9419 0175   Mobile: +61 0411 091 400        /"\
   Fax:   +61 3 9419 0175   mailto: shc@flybynight.com.au   \ /
                                                             X
                 ASCII Ribbon campaign against HTML E-Mail  / \
--------------------------------------------------------------------



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.