×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.



  • Subject: Re: Help needed !!!
  • From: tomh@xxxxxxxxx
  • Date: Tue, 17 Apr 2001 09:12:17 -0500


Are you also ruling out the use of CALLed CL programs?  If not, you could do the following:

RPG:   CALL 'FTPPGMC'
check the contents of ftplib/ftpsrc(ftpout) for the results of the FTP

CL for FTPPGMC:
clrpfm file(ftplib/ftpsrc) mbr(ftpout)
ovrdbf file(input) tofile(ftplib/ftpsrc) mbr(ftpsrc)
ovrdbf file(output) tofile(ftplib/ftpsrc) mbr(ftpout)
ftp rmtsys('192.16.0.1')

FTPSRC member:
userid password
cd remote_lib
syscmd chgcurlib as400lib
get remote_file as400file.as400mbr (replace
quit




"Venkateshwar Venkataraman" <venkateshwar.raman@wipro.com>
Sent by: owner-rpg400-l@midrange.com

04/17/01 02:01 AM
Please respond to RPG400-L

       
        To:        <RPG400-L@midrange.com>
        cc:        
        Subject:        Help needed !!!




Can any body tell me how to do a FTP from a AS/400 machine to  a Mainframe from a RPG Program without the use of any APIs like QCMDEXEC  ...
 
Regds,
Venkatesh.


This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.