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



Jerry:

The syntax that FTP understands (with NAMEFMT 0 for the QSYS.LIB file system) is "library/filename.membername"

And, you can have a period in the member name, after the first "." that delimits it from the file name.

Try it this way:

put c:\adams\@Worklib\Text.txt tstqs36f.d.c701

Or, try "library qualifying" the target file, like this:

put c:\adams\@Worklib\Text.txt qgpl/tstqs36f.d.c701

HTH,

Mark S. Waterbury

> On 2/25/2016 8:48 AM, Jerry Adams wrote:
I am trying to FTP a text file to a source physical file with a single
member. For example:

put c:\adams\@Worklib\Text.txt tstqs36f/d.c701

The push "works" BUT the FTP process say "150 Sending file to member C701 in
file D in library TSTQS36F"

I tried qualifying the file name as "D.C701" but got the same message. It
did create a file named "D" and the data was there.

Tried single quotes with equivalent results. Except that it created a file
named "D#".

There is, by the way, already a member in the source physical file with the
same name (i.e., D.C701).

So how do I push to a file/member which is delimited?

Jerry C. Adams

The best argument against democracy is a five-minute conversation with the
average voter! -Winston Churchill

IBM i Programmer/Analyst


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.