|
The freebsd box (I hope, I run linux, not freebsd) can mount some share on the AS/400. By share, I mean a shared directory in the IFS using netserver stuff, AKA Windows sharing, AKA CIFS, AKA NetBIOS et al. After doing the mount, the share will look to the freebsd box like local storage.
That's true, you could do that. However, I'd recommend using NFS in preference to SMB/CIFS. It just fits the paradigm better.
This method also doesn't work well when you need real-time response, since it requires a program to poll for a file or record to exist. Program-to-program communications are more efficient if you need real-time response.
There's also a huge risk of timing problems. You need to be very careful that you don't have two things writing to the same file, and that the CGI programs don't ever add to files that have already been processed. So this will take careful planning.
After the CGI is done writing, the AS/400 could CPYFRMSTMF to some physical under QSYS.
That would be horribly inefficient. Just read the stream file from the RPG application, or write it to QSYS in the first place.
As an Amazon Associate we earn from qualifying purchases.
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.