On VXCERN, each release has a directory tree, e.g. CERN:[94A]. The command SET FILE/ENTER is used to create aliases for the OLD, PRO and NEW releases.
The following command file, CERN:[PRO.MGR]RELEASE.COM, can be used to change the aliases. It must be updated for each release.
Note that it leaves NEW and PRO pointing to the same directory. A new NEW area is only created once PRO is stable.
RELEASE.COM
$!Release procedure for Vax/VMS
$
$ CERNDIR=F$TRNLNM("CERN")-".]"+"]"
$ set default 'CERNDIR'
$
$!set file/remove new.dir;*
$ set file/remove pro.dir;*
$ set file/remove old.dir;*
$
$!delete/log [.93b...]*.*.*
$!backup/log [.93d...] [.94a...]
$
$!set file/enter=new.dir 94b.dir
$ set file/enter=pro.dir 94a.dir
$ set file/enter=old.dir 93d.dir
$
$ set default [.cmz]
$
$!set file/remove new.dir;*
$ set file/remove pro.dir;*
$ set file/remove old.dir;*
$
$!delete/log [.1_43...]*.*.*
$!backup/log [.1_45...] [.1_46...]
$
$!set file/enter=new.dir 1_46.dir
$ set file/enter=pro.dir 1_45.dir
$ set file/enter=old.dir 1_44.dir
After changing the file pointers, the file CERN:[000000]RELEASE.LEVEL should also be modified to reflect the new situation.
Example RELEASE.LEVEL file
CERNLIB OLD=93D CERNLIB PRO=94A CERNLIB NEW=94B CMZ OLD=1.44 CMZ PRO=1.45 CMZ NEW=1.46 GKS OLD=3.2 GKS PRO=3.2 GKS NEW=3.2 LAPACK OLD=1.0 LAPACK PRO=1.0B LAPACK NEW=1.0B NAG OLD=MARK11 NAG PRO=MARK15 NAG NEW=MARK15 PHIGS OLD=V20 PHIGS PRO=V21 PHIGS NEW=V21