There are some message queueing technologies that may be helpful. You may
have access to MQSeries, since your code is in COBOL. That is one way to
send messages.
I do not believe that the watcher will work on a network share like that.
You may have to use a timer and simply check the directory on a periodic
basis. Or, you could use FTP from the AIX side to an FTP server on the .Net
side, which would trigger the watcher when the file appears.
Are you wanting faster turnaround? If so, you may want to use a webservice
that you implement on the .Net side and that you call on the AIX side. This
is a good place to consider Java to .Net Interop.
--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik
Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
"Stu" <s.****@cergis.com> wrote in message
news:Oc**************@TK2MSFTNGP10.phx.gbl...
Hi,
I have been asked to interface with an AIX system running a COBOL
application. Not having done this before we settled on text files written
to a drive to communicate between the two systems.
Firstly, does anyone know of a better (less nasty!) way of communication
between COBOL and .Net over a local network.
Secondly, if we go ahead with the text file method - would the built in
folder watching functions in .Net work correctly with a NFS volume shared
on the AIX box?
Many thanks in advance,
Stu