×
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.
John,
This worked with FTP.
This is a flat file, 1 field, 80 long.
3rd party package expecting the file in this library.
Paul
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of John Yeung
Sent: Saturday, May 06, 2017 11:34 PM
To: Midrange Systems Technical Discussion
Subject: Re: Replacing FTP PC client scripts to SFTP to put PC file to a i5 library.
On Sat, May 6, 2017 at 10:51 PM, Steinmetz, Paul <PSteinmetz@xxxxxxxxxx> wrote:
That worked.
But the resulting file is savf not a PF.
Were you able to FTP directly to physical files before? In general, this doesn't work. Even if you can get it to work for "flat files", it's generally not the best way to go. If your target is a regular data PF (with meaningful fields), the normal approaches are to use something else (like ODBC or JDBC) to directly populate the PF, or to deposit the data to IFS and then do some step on the i to copy it over (like CPYFRMIMPF, CPYFRMSTMF, or something more sophisticated).
John Y.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
http://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
http://amzn.to/2dEadiD
As an Amazon Associate we earn from qualifying purchases.