[Info-vax] OpenVMS - file selection abnormally with Copy / Rename or user ignorance?

JF Mezei jfmezei.spamnot at vaxination.ca
Sat Mar 28 00:08:09 EDT 2015


On 15-03-27 23:02, IanD wrote:

> The files throwing an error are indeed open for write access BUT they fall outside the creation date time for the file selection command, so they should not be in the attempted copy/rename selection set
> 
> The command is of the form: copy/log/before=today *.log;* [.old]*.*;*


Not 100% sure of the actual inner workings, but in order to obtain file
attributes (such as date modified), I believe that $OPEN or the
equivalent need to be called so it populates the various RMS data
structures.

So it may be hitting the "file open for write" as it tries to obtain
file attributes, and thus before it knows that this file falls outside
search criteria and should not be copied.

It has been a while so I don't recall the exact system services needed
prior to being able to get the file attributes from RMS.



More information about the Info-vax mailing list