× 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.



The simplest thing for OP is definitely just adjusting the CPYTOIMPF output.

But for those who are still reading for the tangents:

On Tue, Nov 26, 2019 at 1:39 PM Jerry Draper <midrangel@xxxxxxxxxxxxx> wrote:

We have extensively used python to drive our sFTP scrips.

We have integrated pExpect in Python which gives you granular control of
the process.

I'm happy to see people using Python on the i, but an alternative I
like better than Pexpect (that's how the developer capitalizes it) is
Paramiko, or even higher-level packages that are built on Paramiko,
such as pysftp.

If you are used to Scott's FTPAPI, then you should be at home with
Paramiko or especially with pysftp.

Python is a super powerful addition to the IBM I with its ability to
issue sql commands to any db2 file on the I side and to run any IBM I
command from within Python.

Very true. On top of everything else, it is relatively easy to learn.
You can start being productive with it very soon.

John Y.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.