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



On Tue, 14 Jun 2005, Douglas W. Palme wrote:
> I was wondering if anyone could tell me if this is possible.  We have a
> freebsd machine which we are using for some web apps, typically cgi's with
> perl, we'd like to be able to write some records from that on our 170, using
> perl if possible.....

I don't have a wonderful solution, but here's what I think.

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.

The CGI can write to some file or files under this mount. Of course, it
will really be writing to a stream file in the IFS. You probably have
several parallel instances of your CGI stuff running, so be careful two
things don't try to write to the same file.

After the CGI is done writing, the AS/400 could CPYFRMSTMF to some
physical under QSYS.

Hopefully that will at least give you some ideas. I think I'd do something
like each CGI writes to some file somewhere and after it's done, it
renames the file to indicate it's done writing. The 'done' files are
transferred somehow to the AS/400 where they're added to physical files.
Good luck.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.