|
Yes, this will work.
MD DIR('/qntc/servername')
CPYTOIMPF FROMFILE(library/filename) TOSTMF(&TOFILE) +
MBROPT(*REPLACE) RCDDLM(*CRLF) +
DTAFMT(*DLM) STRDLM('"') FLDDLM(',') +
STMFCODPAG(*PCASCII)
CHGVAR VAR(&TOFILE)
VALUE('/QNTC/servername/folder/subfolder/filename.csv')
-----Original Message-----
From: Pat Barber [mailto:mboceanside@xxxxxxxxxxxxxxxx]
Sent: Tuesday, April 01, 2003 10:00 AM
To: MIDRANGE-L@xxxxxxxxxxxx
Subject: Getting a File to a PC with No Client Access
I have a customer that does not(and will not) install CA.
(He has ETU if anybody remembers that one)
I need to get a file over to a spread sheet(Excel) and I
was wondering if I could use one of the cpytoimpf commands
to at least get me a comma delimted file and then figure out how to get
the resulting file over to the pc.
I have never used the cpytoimpf or the cpyfrmimpf commands
but they both appear to hold some promise for this sort of thing.
ETU will do the file transfer but I need to get the file in
a spread sheet friendly format like CVS.
_______________________________________________
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.
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.