I think there are several options - something needs to receive the file on the PC - this could be and FTP server, it could be a file share. There are commercial offerings to help with this.

You could set up QNTC or an NFS share - with either of these, it is a matter of using the CPY command to get the IFS file to another point in the IFS - the QNTC or NFS mount. NFS requires a free Microsoft component that runs on the PC - you can get info on this on our wiki site

With FTP you could write up an FTP script, or use Scott Klement's FTP API - gives you command-line control of FTP processes.

<verndor response>
We have a product that can do that using a CL command - QCMDEXC would let you use it in RPG - the product is called Office Integrator and offers other PC-related functions, as well. The command OFCIFSSEND does just what it suggests. Call us at 800.rjs.soft and ask for me or for sales. 30-day evaluation, fully-supported, is freely available.
</verndor response>


Chamara Withanachchi wrote:

Does any one know how to copy IFS file to my pc desktop or c drive, using rpg.
Thanking you in advance


Chamara Withanachchi
IBM Certified Power System Expert
RPG Programmer (owner of
Mob: +971 50 5698644
Tel: +971 6 5595887
chamaraw@xxxxxxxxxx i want to be future ready. i want control. i want an i.

Sent from my BlackBerry® wireless device

This thread ...


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

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