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

David Froble davef at tsoft-inc.com
Sat Mar 28 02:32:18 EDT 2015


JF Mezei wrote:
> 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.

QIOW  ...

I was just looking at a routine call FileInfo.Bas earlier today. 
Actually, a lot of work to get that stuff.  If you want a copy to see 
what's involved, let me know.



More information about the Info-vax mailing list