If I understand correctly, you have a file name of D.C701.
Strange but okay.

Yes, the format is lib/file.mbr so it is doing exactly what you told it to
do.

I haven't tested this but maybe it will parse the file name correctly if it
uses everything up until .FILE

LCD \adams\@Worklib
NAMEFMT 1
PUT Text.txt /QSYS.LIB/TSTQS36F.LIB/D.C701.FILE/TEXT.MBR


Yours truly,

Glenn Gundermann
Email: glenn.gundermann@xxxxxxxxx
Work: (416) 675-9200 ext. 89224
Cell: (416) 317-3144


On 25 February 2016 at 08:48, Jerry Adams <midrange@xxxxxxxx> 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

--

NMM&D

615-832-2730



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


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.