× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: Transfer of AS/400 File to PC (Excel)
  • From: murtuza jadli <m_jadli@xxxxxxxxx>
  • Date: Wed, 30 May 2001 21:17:16 -0700 (PDT)

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