Look up QNTC.
Also look up setting up NFS mounts.
If that local PC has a share on it, then accessing it via
MD '/QNTC/MYPCNAME'
CPY ... TOOBJ('/QNTC/MYPCNAME/MyPCShareName/mypcfile.xlsx')
Is really easy.
QNTC has a few quirks which have gotten much better with current releases of the OS. Some people prefer doing NFS mounts. I've done it, it works. A bit more setup on both the from side and the to side but your CPY command works just as well.
Recently read a IFS comparison and they relegated QNTC as something only used for reading from PC's built into your IBM i (remember FSIOP, IPCS and that genre?). They really need to write their own material or refreshen their 15 year old information. Might have been "Deep Dive into the IFS". About then is when I decided I have better things to do with my time. They also listed '/QOPT' as dead.
Rob Berendt
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.