|
I could try socket into it. However, I'm not familiar with Telnet protocol to navigate the menu and exec the option.
The TELNET protocol is simple. It's the terminal emulation that you may have to write that would be complicated. Granted, if nothing else is negotiated, the iSeries typically falls back to VT100 which is very simple, but it'd be a hack to assume this... you'd probably want to write at least enough code to negotiate a VT100 terminal.
I was wondering if it can be done using some type of script process like ftp.
Many of the higher-end telnet clients support scripts, but the one built-in to the iSeries does not. You might consider trying TNAPI from Albert York, it allows you to write a batch program on the iSeries that controls an interactive terminal... that way, you could have it telnet, supply all of the parms, etc.
http://www.ediconsulting.com/dlfiles/tnapi.zip
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.