<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Directory Change Notification - ODS-2/ODS-5 in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/directory-change-notification-ods-2-ods-5/m-p/3583125#M100991</link>
    <description>And FYI&lt;BR /&gt;&lt;A href="http://forums2.itrc.hp.com/service/forums/questionanswer.do?threadId=602985" target="_blank"&gt;http://forums2.itrc.hp.com/service/forums/questionanswer.do?threadId=602985&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Wim</description>
    <pubDate>Tue, 19 Jul 2005 01:05:26 GMT</pubDate>
    <dc:creator>Wim Van den Wyngaert</dc:creator>
    <dc:date>2005-07-19T01:05:26Z</dc:date>
    <item>
      <title>Directory Change Notification - ODS-2/ODS-5</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/directory-change-notification-ods-2-ods-5/m-p/3583098#M100964</link>
      <description>Hi everyone!&lt;BR /&gt;&lt;BR /&gt;I'm looking for a way to automatically run a DCL script when a file is created in a directory.&lt;BR /&gt;&lt;BR /&gt;Our main application creates reports in a directory every hour, and right now I have a batch job that runs on the hour, waits for a bit for the file to be created, scans the directory using F$SEARCH() to get the real file name, and the processes it. But I suppose this situation must be a common enough scenario, that there must be a better solution... less coupling between the file creator and others external apps that need to monitor them. Specially as the hourly schedule may change in the future, and there may not be any elegant schedule at all...&lt;BR /&gt;&lt;BR /&gt;Can anyone help? a path leading to a solution in DCL would be perfect... we don't have any compilers installed.&lt;BR /&gt;&lt;BR /&gt;If I would have to poll the directory, would it be a noticeable hit on the system load to do frequent F$SEARCH() operations on a big directory, with say, 10,000 files in it? The system is a standard DS10 Alphaserver. VMS 7.3-2.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance...&lt;BR /&gt;/Oshadi&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Jul 2005 20:42:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/directory-change-notification-ods-2-ods-5/m-p/3583098#M100964</guid>
      <dc:creator>Ishan Oshadi Jayawarden</dc:creator>
      <dc:date>2005-07-14T20:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: Directory Change Notification - ODS-2/ODS-5</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/directory-change-notification-ods-2-ods-5/m-p/3583099#M100965</link>
      <description>Can you change the "main application" so that it would create the said hourly report onto a pretty much empty directory?&lt;BR /&gt;&lt;BR /&gt;That way occasional scanning for new files would be less expensive.&lt;BR /&gt;&lt;BR /&gt;One might be able to use search lists to have the new files created in one directory (empty mostly) and then the post-processing app would move them to the other (crowded) directory&lt;BR /&gt;&lt;BR /&gt;with suitable code one could probaly have a suitable lock with BLOCKING AST against the said directory file but you would really need something more than plain DCL&lt;BR /&gt;&lt;BR /&gt;_veli</description>
      <pubDate>Thu, 14 Jul 2005 21:59:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/directory-change-notification-ods-2-ods-5/m-p/3583099#M100965</guid>
      <dc:creator>Veli Körkkö</dc:creator>
      <dc:date>2005-07-14T21:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Directory Change Notification - ODS-2/ODS-5</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/directory-change-notification-ods-2-ods-5/m-p/3583100#M100966</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;we have several jobs scanning directories.&lt;BR /&gt;Most of them scan every 2 minutes and as far as I can see no big load is involved. (DS20).&lt;BR /&gt;&lt;BR /&gt;I use:&lt;BR /&gt;IF F$SEARCH("IN_DIR:somefile.DAT;-0") .NES. ""&lt;BR /&gt;&lt;BR /&gt;As you can see ;-0 is added at the filename to make sure the oldest version is processed first. This may also be important to you if several files are created in a short time period.&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;Marc</description>
      <pubDate>Thu, 14 Jul 2005 22:18:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/directory-change-notification-ods-2-ods-5/m-p/3583100#M100966</guid>
      <dc:creator>Marc Van den Broeck</dc:creator>
      <dc:date>2005-07-14T22:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: Directory Change Notification - ODS-2/ODS-5</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/directory-change-notification-ods-2-ods-5/m-p/3583101#M100967</link>
      <description>Hi Oshadi,&lt;BR /&gt;first of all Welcome to vms forum :-)&lt;BR /&gt; &lt;BR /&gt;Sorry, I don't understand your real question. The F$SEARCH() function is not an heavy work for any vms machine. I use some procedure scanning ever few minutes on entry level machine (DS10). If you have some dubt, set priority very low (e.g. SET PROC /PRIO=1).&lt;BR /&gt; &lt;BR /&gt;To avoid scheduling too many job in batch queue you have two different solutions:&lt;BR /&gt;1) Create a new batch queue just for this work&lt;BR /&gt;2) Create scanning process with RUN SYS$SYSTEM:LOGINOUT. In this case you can sleep process instead closing and resubmitting.&lt;BR /&gt; &lt;BR /&gt;AFAIK there is no service can notify you any change on directory.&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Jul 2005 00:08:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/directory-change-notification-ods-2-ods-5/m-p/3583101#M100967</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2005-07-15T00:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: Directory Change Notification - ODS-2/ODS-5</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/directory-change-notification-ods-2-ods-5/m-p/3583102#M100968</link>
      <description>As others said, reduce the number of files in the directory, where new files are created. (several 10 thousands are generally problematic, not just for this purpose: directory caching,window turns etc.).&lt;BR /&gt;Then some DCL polling is o.k.&lt;BR /&gt;&lt;BR /&gt;A clean solution, but needs more programming:&lt;BR /&gt;put an ALARM ACE on the directory (SET SECURITY /ACL=(ALARM=SECURITY,ACCESS=WRITE+SUCCESS)),&lt;BR /&gt;enable ACL alarms in audit (SET AUDIT /ANABLE=ACL), create a mailbox for security alarms, SET AUDIT/LISTENER=thismailbox, write a  program which reads this mailbox (can be DCL), and selects the messages for this specific ACE to trigger the actions You want.&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Jul 2005 00:43:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/directory-change-notification-ods-2-ods-5/m-p/3583102#M100968</guid>
      <dc:creator>Joseph Huber_1</dc:creator>
      <dc:date>2005-07-15T00:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Directory Change Notification - ODS-2/ODS-5</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/directory-change-notification-ods-2-ods-5/m-p/3583103#M100969</link>
      <description>Hello everyone,&lt;BR /&gt;Thanks for the quick responses. Search paths will work well, as already the app uses a logical to access this directory. I was just trying to find non-polling solution (like dnotify or *ChangeNotification/ReadDirectoryChanges apis in other OS's), with minimal changes to the running system - it's online and mission-critical, really :)&lt;BR /&gt;&lt;BR /&gt;I'd like to go with a blocking AST in time...&lt;BR /&gt;&lt;BR /&gt;Antoniov: Thanks!!! :)&lt;BR /&gt;I just went to the SysAdmin I course last March, after working with a 2 node + quorum node cluster for a year ;)&lt;BR /&gt;&lt;BR /&gt;Looks like I'll stick with a low-priority F$SEARCH() approach for now...&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Jul 2005 00:45:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/directory-change-notification-ods-2-ods-5/m-p/3583103#M100969</guid>
      <dc:creator>Ishan Oshadi Jayawarden</dc:creator>
      <dc:date>2005-07-15T00:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: Directory Change Notification - ODS-2/ODS-5</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/directory-change-notification-ods-2-ods-5/m-p/3583104#M100970</link>
      <description>&amp;gt;&amp;gt;ChangeNotification/ReadDirectoryChanges apis in other OS's&lt;BR /&gt;&lt;BR /&gt;I think ALARM ACEs on the directory are the VMS equivalents.&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Jul 2005 01:03:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/directory-change-notification-ods-2-ods-5/m-p/3583104#M100970</guid>
      <dc:creator>Joseph Huber_1</dc:creator>
      <dc:date>2005-07-15T01:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: Directory Change Notification - ODS-2/ODS-5</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/directory-change-notification-ods-2-ods-5/m-p/3583105#M100971</link>
      <description>Oshadi,&lt;BR /&gt;&lt;BR /&gt;If your application uses logical names to access the directory, you can redefine the logical name to point to two directories. You do this with a equivalence name list. The application will create the file in the first directory. The pool procedure can search this directory, process files and rename them to the second directory. With this technique you have only unprocessed files in the first directory.&lt;BR /&gt;&lt;BR /&gt;The second thing is the number of files in the directory. If you have 10,000 files in one directory it is possible that you encounter the RMS-F-DME error when doing F$SEARCH() on this directory.&lt;BR /&gt;&lt;BR /&gt;Bojan</description>
      <pubDate>Fri, 15 Jul 2005 01:06:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/directory-change-notification-ods-2-ods-5/m-p/3583105#M100971</guid>
      <dc:creator>Bojan Nemec</dc:creator>
      <dc:date>2005-07-15T01:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: Directory Change Notification - ODS-2/ODS-5</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/directory-change-notification-ods-2-ods-5/m-p/3583106#M100972</link>
      <description>&lt;BR /&gt;Google is your friend.&lt;BR /&gt;&lt;BR /&gt;Don't discount Usenet.  After all, Usenet&lt;BR /&gt;predates this forum by many years and&lt;BR /&gt;many of these problems have been solved&lt;BR /&gt;before (there is nothing new under&lt;BR /&gt;the sun).&lt;BR /&gt;&lt;BR /&gt;With that is an intro, 5 minutes in&lt;BR /&gt;groups.google.com lead to an article&lt;BR /&gt;in comp.os.vms that referenced the solution&lt;BR /&gt;in vmsnet.internals&lt;BR /&gt;&lt;BR /&gt;This links to a C program that will&lt;BR /&gt;do what you are after:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://tinyurl.com/durmx" target="_blank"&gt;http://tinyurl.com/durmx&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Enjoy!&lt;BR /&gt;&lt;BR /&gt;Rob</description>
      <pubDate>Fri, 15 Jul 2005 09:19:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/directory-change-notification-ods-2-ods-5/m-p/3583106#M100972</guid>
      <dc:creator>Rob Young_4</dc:creator>
      <dc:date>2005-07-15T09:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: Directory Change Notification - ODS-2/ODS-5</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/directory-change-notification-ods-2-ods-5/m-p/3583107#M100973</link>
      <description>Ishan,&lt;BR /&gt;&lt;BR /&gt;lots of good advice already given.&lt;BR /&gt;(and I like the Alarm Ace mechanism by Joseph!).&lt;BR /&gt;However, whatever method you will be using, please realise that there _IS_ some chance that you will test for a file, and find it, but if you start processing the file it will not yet have finished being written...&lt;BR /&gt;&lt;BR /&gt;So, please make sure that it already IS available for processing.&lt;BR /&gt;usually, F$FILE_AT(file,"LCK") will do, or F$FILE_ATT(file,"EOF") .ne. 0&lt;BR /&gt;&lt;BR /&gt;We also have such applics, generating ca 400 files in clusters of few to some tens, and occasionally faced strange behavior.&lt;BR /&gt;We added this test, and just for good measure reported any such coincidences.&lt;BR /&gt;We hit one or two a month, and in such cases a 5 second delay solved all issues.&lt;BR /&gt;&lt;BR /&gt;hth,&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe</description>
      <pubDate>Fri, 15 Jul 2005 09:29:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/directory-change-notification-ods-2-ods-5/m-p/3583107#M100973</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2005-07-15T09:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Directory Change Notification - ODS-2/ODS-5</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/directory-change-notification-ods-2-ods-5/m-p/3583108#M100974</link>
      <description>Rob: Thanks! It would probably need some sort of blessing from my app vendor. But yes, this is exactly what I was after... too bad some tool doesn't come with the standard VMS distribution that can do this...&lt;BR /&gt;&lt;BR /&gt;Jan: Very good point! I'd totally forgotten this on the VMS end... the processing I mentioned was actually COPY/FTP'ing the file in question to a linux box. My app on the linux side does check for complete files, but it seems that so far, the only thing that's saved me is the five-second wait-retry loop in the DCL script.&lt;BR /&gt;&lt;BR /&gt;The whole intent of this is to get some info from the cluster to a database, and then to a web server; even a one-minute delay is acceptable...</description>
      <pubDate>Fri, 15 Jul 2005 09:44:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/directory-change-notification-ods-2-ods-5/m-p/3583108#M100974</guid>
      <dc:creator>Ishan Oshadi Jayawarden</dc:creator>
      <dc:date>2005-07-15T09:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: Directory Change Notification - ODS-2/ODS-5</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/directory-change-notification-ods-2-ods-5/m-p/3583109#M100975</link>
      <description>Beware!&lt;BR /&gt;&lt;BR /&gt;  The C code referenced will trigger whenever any process accesses the referenced directory in any way. That includes READ accesses. So, you'll get numerous false alarms. Make sure your code can cope with this.&lt;BR /&gt;&lt;BR /&gt;  Also, as Jan has pointed out, you'll get triggered when a file &amp;amp; consequent directory entry is *created*, not when it's closed. You need to work out a mechanism for synchronising reader and writer.&lt;BR /&gt;&lt;BR /&gt;  Note that exactly the same code (no mods required) can be used to block until a particular (non-directory) file is touched. That includes and read access, and also the creation of a new version. If your writer can be modified slightly - all it needs to do is open &amp;amp; close a specific file after it's generated the report, you can use activity on that file as the trigger for your reader.</description>
      <pubDate>Sun, 17 Jul 2005 19:02:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/directory-change-notification-ods-2-ods-5/m-p/3583109#M100975</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2005-07-17T19:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: Directory Change Notification - ODS-2/ODS-5</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/directory-change-notification-ods-2-ods-5/m-p/3583110#M100976</link>
      <description>&amp;gt;  F$FILE_AT(file,"LCK")&lt;BR /&gt;&lt;BR /&gt;I don't see that LCK is a valid argument on V7.3-2 and "LOCKED" refers to 'deaccess locked' - a feature from RSX that locks the file when it was not properly closed.&lt;BR /&gt;&lt;BR /&gt;You also need an error handler if you use:&lt;BR /&gt;F$FILE_ATT(file,"EOF")&lt;BR /&gt;because the lexical is aborted with an error status when the file is open for write.&lt;BR /&gt;&lt;BR /&gt;$ open/write f file.dat&lt;BR /&gt;$ write sys$output f$file_attributes ("file.dat","eof")&lt;BR /&gt;%SYSTEM-W-ACCONFLICT, file access conflict&lt;BR /&gt; \file.dat\&lt;BR /&gt;$&lt;BR /&gt;$&lt;BR /&gt;$ close f ! don't forget this ;-)</description>
      <pubDate>Sun, 17 Jul 2005 22:10:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/directory-change-notification-ods-2-ods-5/m-p/3583110#M100976</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2005-07-17T22:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: Directory Change Notification - ODS-2/ODS-5</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/directory-change-notification-ods-2-ods-5/m-p/3583111#M100977</link>
      <description>F$FILE_ATTR(f, "EOF") can help...&lt;BR /&gt;In my case, the files I'm interested in have (very convenient) end-of-file magic numbers... say, a "--- 000 ---" string on a line by itself at the end of the file. I can run a search command, and check $SEVERITY...&lt;BR /&gt;</description>
      <pubDate>Sun, 17 Jul 2005 23:01:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/directory-change-notification-ods-2-ods-5/m-p/3583111#M100977</guid>
      <dc:creator>Ishan Oshadi Jayawarden</dc:creator>
      <dc:date>2005-07-17T23:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: Directory Change Notification - ODS-2/ODS-5</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/directory-change-notification-ods-2-ods-5/m-p/3583112#M100978</link>
      <description>Hi Oshadi,&lt;BR /&gt;f$file() function abort if file is locked by another use and you are not able to get any information. Here there is a little piece of code I used to retrive file allocation&lt;BR /&gt;$ IF F$TYPE(FAL).NES."" THEN DELETE/SYMB FAL&lt;BR /&gt;$ SET NOON !Avoid trap of error&lt;BR /&gt;$ DEFINE SYS$ERROR NLA0: !Avoid terminal msg&lt;BR /&gt;$ DEFINE SYS$OUTPUT NLA0:&lt;BR /&gt;$ FAL=F$FILE(FPN,"EOF")&lt;BR /&gt;$ DEASS SYS$OUTPUT !Restore msg&lt;BR /&gt;$ DEASS SYS$ERROR&lt;BR /&gt;$ SET ON !Restore trap&lt;BR /&gt;$ IF F$TYPE(FAL).EQS."" THEN GOTO SD03&lt;BR /&gt;It's just an example.&lt;BR /&gt;You can also use CDT (creation date) to know last created files.&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Jul 2005 00:33:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/directory-change-notification-ods-2-ods-5/m-p/3583112#M100978</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2005-07-18T00:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: Directory Change Notification - ODS-2/ODS-5</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/directory-change-notification-ods-2-ods-5/m-p/3583113#M100979</link>
      <description>Newer version of the program referenced by Rob can be found at:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.eight-cubed.com/downloads.html#watchdir" target="_blank"&gt;http://www.eight-cubed.com/downloads.html#watchdir&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Jul 2005 05:57:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/directory-change-notification-ods-2-ods-5/m-p/3583113#M100979</guid>
      <dc:creator>Peter Barkas</dc:creator>
      <dc:date>2005-07-18T05:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: Directory Change Notification - ODS-2/ODS-5</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/directory-change-notification-ods-2-ods-5/m-p/3583114#M100980</link>
      <description>As a variant thought...&lt;BR /&gt;&lt;BR /&gt;If your application code is in any way subject to change, you would do better to have it send you something to notify you.  Is the program run inside a shell that could detect its exit?  Even if only the shell could be changed, that might be enough.&lt;BR /&gt;&lt;BR /&gt;One method is to have it set an event flag in a Common Event Flag block.  That would work pretty well if they are on the same system.  This won't work all of the time if there is a cluster and the two processes could possibly run on different nodes.&lt;BR /&gt;&lt;BR /&gt;Another method would be to create a mailbox in your application that needs to know when the file is created and have the application write the name of the new file to the mailbox.  This would work in a clustered environment.&lt;BR /&gt;&lt;BR /&gt;A third possibility involves some complex lock code, taking out an interest lock on the directory but allowing anyone to write to it anyway.  You would need some AST-level code to note that someone wanted to update the directory and use that code to notify you when someone actually does change something.&lt;BR /&gt;&lt;BR /&gt;The problem I see with repeated scans of your folder has to do with file system caches, least-recently-used schemes, and resultant performance degradation, albeit by a small amount.  Your frequent scan of the folder will force the file system to keep that folder in your directory cache when you might have better uses for that memory.  Particularly if it is a large (heavily populated) folder.  &lt;BR /&gt;&lt;BR /&gt;Making the file creator notify you will obviate the need for any scanning, which is a GOOD thing with respect to file system caches on a busy system.&lt;BR /&gt;&lt;BR /&gt;Just a variant thought on how to make it work faster.</description>
      <pubDate>Mon, 18 Jul 2005 08:02:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/directory-change-notification-ods-2-ods-5/m-p/3583114#M100980</guid>
      <dc:creator>Richard W Hunt</dc:creator>
      <dc:date>2005-07-18T08:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: Directory Change Notification - ODS-2/ODS-5</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/directory-change-notification-ods-2-ods-5/m-p/3583115#M100981</link>
      <description>All good points... I'll take a closer look at the writer; it's possible that it would create a mailbox... but this writer process is created only when needed (once an hour for now), and exits in a few seconds (after the report generation).&lt;BR /&gt;&lt;BR /&gt;Another application level solution might be possible: When all is said and done (i.e. the report generated, and the file is closed), the writer logs this in a central logfile like so:&lt;BR /&gt;"Created File: xxxxxxxx.LIS"&lt;BR /&gt;&lt;BR /&gt;If I could just do a blocking read on this logfile... in DCL...&lt;BR /&gt;Otherwise I'd be polling this file doing Type/Page commands. As far as I can tell, DCL's READ is out? It write-locks the file even when it's been opened just for reading.</description>
      <pubDate>Mon, 18 Jul 2005 08:17:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/directory-change-notification-ods-2-ods-5/m-p/3583115#M100981</guid>
      <dc:creator>Ishan Oshadi Jayawarden</dc:creator>
      <dc:date>2005-07-18T08:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: Directory Change Notification - ODS-2/ODS-5</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/directory-change-notification-ods-2-ods-5/m-p/3583116#M100982</link>
      <description>&amp;gt; Type/Page&lt;BR /&gt;&lt;BR /&gt;Drat, I meant Type/Tail :)&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Jul 2005 08:20:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/directory-change-notification-ods-2-ods-5/m-p/3583116#M100982</guid>
      <dc:creator>Ishan Oshadi Jayawarden</dc:creator>
      <dc:date>2005-07-18T08:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Directory Change Notification - ODS-2/ODS-5</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/directory-change-notification-ods-2-ods-5/m-p/3583117#M100983</link>
      <description>Hi,&lt;BR /&gt;you can control sharing access with /SHARE option of open statement.&lt;BR /&gt;See follow lines:&lt;BR /&gt;$ OPEN/REA/SHARE=WRITE SRC &lt;MYLIS&gt;&lt;BR /&gt;Previous statement tells vms open file for read without lock.&lt;BR /&gt;However, if another process open file without permission like follow dcl command&lt;BR /&gt;$ OPEN/APPEND ...&lt;BR /&gt;no any other process can read file.&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;&lt;BR /&gt;&lt;/MYLIS&gt;</description>
      <pubDate>Mon, 18 Jul 2005 08:35:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/directory-change-notification-ods-2-ods-5/m-p/3583117#M100983</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2005-07-18T08:35:35Z</dc:date>
    </item>
  </channel>
</rss>

