|
Hi Amir, i'm doing the same thing for transfering my AS400 Physical file to my PC. > ********** > username password > PUT BPCDUSRF/SALEF.JANMBR E:/ANALYSIS/ > CLOSE > QUIT > ************ instead of above code i have written -------- user password cd <directory path> lcd <library name> ascii put <file name> quit ---------- and its work fine with me. try this and let me know, Good Day Amir, Murtuza Jadli --- Amir Khan <akhan@saudicement.com.sa> wrote: > 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 > +--- __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ +--- | 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-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.