home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!sdd.hp.com!cs.utexas.edu!ut-emx!slcs.slb.com!BRYDON@linus.slcs.slb.com
- From: brydon@asl.slb.com (Harvey Brydon (713)274-8281)
- Newsgroups: comp.os.vms
- Subject: Re: Asynch. signal from VMS
- Message-ID: <1992Jul22.124009.23133@slcs.slb.com>
- Date: 22 Jul 92 12:40:09 GMT
- References: <DB15A146AEA19B12@SCS.SLAC.STANFORD.EDU>
- Sender: news@slcs.slb.com (News Administrator)
- Reply-To: brydon@asl.slb.com
- Organization: Schlumberger/Anadrill Sugar Land, TX
- Lines: 33
- Nntp-Posting-Host: 129.87.14.202
-
- In article <DB15A146AEA19B12@SCS.SLAC.STANFORD.EDU>,
- LEVITT@SLC.SLAC.STANFORD.EDU (Stevie Boy) writes:
- >Does anyone know of a way to get some sort of asynchronous message from VMS
- >when a file is written to a directory?
-
- In some cases, yes.
-
- >I want to write a server that waits for new or existing files to be written to
- >a know directory and then processes them. The files will be written by
- >applications running on a PC with a logical drive mapped via pathworks onto
- >the VAX directory. I have no way of modifying the PC applications, apart from
- >specifying the names of the output files, so implementing a special TCP/IP
- >message is out of the question.
- >Polling the modification dates of files is also out of the question as there
- >risks to be hundreds of them. The response time of the server is not too
- >critical, but the server needs to make minimal demands on the CPU whilst it is
- >idle.
- >
- >Has anyone out there faced the same problem? Better still, has anyone
- >solved it?
- >All ideas and commentaries would be gratefully accepted.
-
- If you copy the files into a VMS directory with the use of DECnet, then
- either a new network process is created or an old one is reused. you can
- use the rundown code for the FAL process in SYS$SYSTEM:NETSERVER.COM to
- trigger further processing. I do this myself with plotfiles that are
- copied from PCs to a particular VMS directory. Works good with DECnet.
- You mention TCP/IP above - not sure if it is a requirement for your
- application. I don't know how to do the same thing with TCP/IP.
- ____________________________________________________________________________
- Harvey Brydon | Internet: brydon@dsn.SINet.slb.com
- Dowell Schlumberger | P.O.T.S.: (918)250-4312
- Kubrick fans will note that the HAL 9000 became operational on 12-JAN-1992.
-