Operating System - OpenVMS
1748288 Members
3347 Online
108761 Solutions
New Discussion юеВ

Re: File revision dates in VMS 7.3-2

 
SOLVED
Go to solution
Dana Conroy
Advisor

File revision dates in VMS 7.3-2

While checking the status of a VMS 7.3-2 batch job that was restoring files from a saveset, I noticed that the batch job log file's revision date was not changing after each "%BACKUP-S-CREATED" message recorded in the log file. The revision date was not updated until the batch job completed.

I ran a test batch job that checked its own log file revision date a few times (with WAIT commands between checks), and found that the same thing occurred - log file output (followed by RDT check after log file was closed):

$ search TEST_20060712.LOG "revised:"
REVISED:12-JUL-2006 10:48:50.02
REVISED:12-JUL-2006 10:48:50.02
REVISED:12-JUL-2006 10:48:50.02
REVISED:12-JUL-2006 10:48:50.02
$ write sys$output f$file_attributes("TEST_20060712.Log","RDT")
12-JUL-2006 10:54:50.04

I ran the same procedure on a VMS 7.3-1 system and received the results that I had expected - i.e., the revision date is updated each time the log file is updated:

$ search TEST_20060712.LOG "revised:"
REVISED:12-JUL-2006 10:41:38.36
REVISED:12-JUL-2006 10:43:38.36
REVISED:12-JUL-2006 10:45:38.38
REVISED:12-JUL-2006 10:46:38.35
$ write sys$output f$file_attributes("TEST_20060712.Log","RDT")
12-JUL-2006 10:47:38.39

Also, while restoring the saveset mentioned earlier (created on VMS 7.3-1 system) over on the VMS 7.3-2 system, I noticed unusual file RDT's (many days in the past, not the actual RDT) - which differs from what I have experienced on 7.3-1.

Any information on why I am seeing different RDT behavior on VMS 7.3-2 would be greatly appreciated.

Dana

4 REPLIES 4
Karl Rohwedder
Honored Contributor

Re: File revision dates in VMS 7.3-2

Under V8.2 it is the expected behaviour, every write into the logfile updates the RDT:

RDT 12-JUL-2006 17:38:58.86
RDT 12-JUL-2006 17:39:00.86
RDT 12-JUL-2006 17:39:01.86
RDT 12-JUL-2006 17:39:02.86

Is there any difference in disk setup, e.g. ODS-2 versus ODS-5 ...between 7.3-1 and 7.3-2?

regards Kalle
Wim Van den Wyngaert
Honored Contributor
Solution

Re: File revision dates in VMS 7.3-2

Wim Van den Wyngaert
Honored Contributor

Re: File revision dates in VMS 7.3-2

BTW : this is the answer to read (strange it only got 1 point)

CSC just passed on the response from engineering on this: it's a "feature".

However it can be turn on/off:

$set vol /volume_characteristic=access_date

The default is noaccess_date. The same qualifier exists for INIT as well.

Wim
Wim
Dana Conroy
Advisor

Re: File revision dates in VMS 7.3-2

Both systems have ODS-2 volumes (no ODS-5); looking at the help text for SET VOLUME/VOLUME_CHARACTERISTICS, this appears to apply only to ODS-5 volumes.

The reponses I've received thus far prompted me to look further into the differences between the volumes:

VMS 7.3-1 system:
Host-based RAID 0+1 on HSG80 disks (DPAxxx:)
VMS731_F11X V1.0 applied
Highwatermarking disabled

VMS 7.3-2 system:
Volume shadowing on EVA6000 disks (DSAxxx:)
VMS732_F11X V5.0 applied
Highwatermarking enabled

I disabled highwatermarking on the 7.3-2 DSAxxx: volume on which I've been generating the batch log files - received the same result as with highwatermarking (i.e., no RDT changes).