[comp.os.vms] file headers and set file/remove/enter on v5.0

MANION@CURIE.RM.FCCC.EDU (Frank Manion) (07/22/88)

Greetings,

I was wondering if anyone knows if the new action of the SET FILE/ENTER and
SET FILE/REMOVE commands causes the revision date/number of a file to change?

In versions of VMS prior to 5.0, RENAME on a file caused the
revision info. in the header to change whereas a 
   $ SET FILE/ENTER <new-name>
   $ SET FILE/REMOVE <old-name>
pair did not. Presumably this action was a natural side effect of the
SYS$RENAME system service updating the file name in the file header,
whereas the set file commands only modified the directory files involved.

In VMS V5.0 there are occassions in which a SET FILE/ENTER command would
seem forced to modify the file header. Specifically, if a new directory entry
is made for "a file with no back link (i.e., the previous primary entry
having been removed by a set file/remove), the new directory entry becomes the
primary entry" [ref. VMS V5.0 Release Notes, p7-17]. Presumably this is done
by modifying the directory back link field of the file header, which in
turn may imply the updating of the revision date/number of the file.

Now, the question I am specifically interested in is: does a SET FILE/ENTER
command under version 5.0 *always* modify the revision date/number, only *some*
of the time as in the above case, or *never* ?

I know many of you may find this bizarre, but this action may impact
some optical disk archiving software we have under development for a 
Perceptics O.D. Juke Box. Since we are running under V4.7 on a cluster with
many third party layered products and home grown device drivers, we will
probably not be in a position to test this out ourselves on V5.0 for some
time yet.

Please reply directly to me, as well as the list, as I do not always get
infovax in a timely manner.
:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:
Reply to:
  MANION@CURIE.RM.FCCC.EDU              Frank J. Manion
                                        The Fox Chase Cancer Center
  Phone: (215) 728-3660                 7701 Burholme Avenue
                                        Philadelphia, PA  19111
                                        USA
:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-: