Reading from Standard In/Writing to Standard Out? (on Solaris)

Kenneth Brody kenbrody at bestweb.net
Tue May 11 18:34:01 PDT 2004


Tim Fischer wrote:
> 
> I've got a situation where I need to keep a mysql database in sync with our
> FilePro database.  Our idea is to use Standard in/out as a medium to
> transfer data.  I don't know, however, to get FP to read to standard in or
> write to standard out.

Well, since filePro always reads from stdin and writes to stdout, I'm
not sure exactly what you're asking.

> Does anyone use this or similar functionality anywhere?  Can you give me
> somewhere to look for instruction or assistance?
> 
> Alternatively, is there a way to connect to a mysql server directly from FP?
> (I'm guessing no, but it can't hurt to ask!)

You may be able to write wrappers around MySQL that filePro can call
either with SYSTEM or interactively with USER.

-- 
+-------------------------+--------------------+-----------------------------+
| Kenneth J. Brody        | www.hvcomputer.com |                             |
| kenbrody at spamcop.net | www.fptech.com     | #include <std_disclaimer.h> |
+-------------------------+--------------------+-----------------------------+


More information about the Filepro-list mailing list