Folder watching an AIX network share...

  • Thread starter Thread starter Stu
  • Start date Start date
S

Stu

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
 
You can install Samba on the AIX,
or use tcp client/server app, if you know how to code for AIX
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top