Terry Grider wrote:

We have a new Intel server where the application runs KornShell under
MKS Toolkit on Win2k Server.  We create files that need to go to the
AS400 and under the old DOS Based version of the system, I just use a
DOS COPY to the IFS and then execute this command to get the data to
the native AS400 file system:

RMTCMD CPYFRMIMPF FROMSTMF('qdls\OPERATNS\EXTMNTCF.CSV')
TOFILE(SFNBACH/SLCIFNEW) RCDDLM(*CRLF) MBROPT(*REPLACE)

I replaced the DOS COPY with:

cp ${CHARTER_FILES}/EXTMNTCF.CSV
\\S103080D\QDLS\OPERATNS\EXTMNTCF.CSV

Try replacing the backslashes with forward slashes:


cp $(CHARTER_FILES)/EXTMNTCF.CSV //S103080D/QDLS/OPERATNS/EXTMNTCF.CSV

david


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