home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / vms / 12735 < prev    next >
Encoding:
Internet Message Format  |  1992-07-23  |  2.3 KB

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