|
Hi,
if you want to transfer the file from the as/400 to pc, try this.
username password
NAMEFMT 1
PUT BPCDUSRF/SALEF.JANMBR E:/ANALYSIS/
CLOSE
QUIT
Stefan
---------------------------------------
Hi Murtuza,
Your given example (script) is fine if you transfer a file from one AS/400
to other AS/400 and this fine with me also. But I want to transfer a
physical file from AS/400 to my PC. Following is my simple script for the
same but giving error messages while being called from a CL program:
****************************************************************************
**********
username password
PUT BPCDUSRF/SALEF.JANMBR E:/ANALYSIS/
CLOSE
QUIT
****************************************************************************
**********
Can you advice how to accomplish it.
Thanks for all support.
Amir
System Analyst, SCC,
K.S.A.
(00-966-03-8344500 X267)
+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---
As an Amazon Associate we earn from qualifying purchases.
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.