next up previous contents index
Next: Creating directories for Up: Initial setup and Previous: Initial setup and

Installing PATCHY

The HIGZ modules are stored in the BACKUP saveset VXCERN::CERN:[PRO.BCK]CRNPAT.BCK, or on asis in the backup directory for a given release, e.g. cernlib/vax_vms/94a/bck. We can either retrieve and unpack this saveset or install HIGZ from scratch as shown below.

   

Installing PATCHY from scratch

VSCLIB? create/directory [.patchy]

VSCLIB? create/directory [.scratch] ! work directory for patchy installation

VSCLIB? set default [.patchy]

VSCLIB? copy vxcern::cernvax:[patchy.src.vaxvms]*.* *

VSCLIB? edit/edt patchy.com  ! modify the source, work and target directories as appropriate

VSCLIB? @patchy

N.B. Ensure that you modify all lines with <<< MODIFY THIS >>> on them in the example below.

PATCHY.COM command file

$!******************************************************************   
$!*                                                                *   
$!*  Patchy installation job                                       *   
$!*                                                                *   
$!******************************************************************
$!   
$!--- Customization section ----------------------------------------
$! SDIR="CERN:[PATCHY.SRC.VAXVMS]"     ! Patchy source directory
$! WDIR="DISK$SCRATCH:[PUBCR.WORK]"    ! working directory
$  sdir="disk$user1:[jamie.patchy]"    ! <<< MODIFY THIS >>>
$  wdir="disk$user1:[jamie.scratch]"   ! <<< MODIFY THIS >>>
$!------------------------------------------------------------------
$!
$ ver_imag=F$ENVIRONMENT("verify_image")
$ ver_def =F$ENVIRONMENT("DEFAULT")
$ ver_proc=F$VERIFY(0)
$
$ SET DEFAULT 'WDIR'
$
$ If F$SEARCH("P4INCETA.CET").eqs."" Then COPY 'SDIR'P4INCETA.CET *.*
$!-------------
$ If p1.nes."R" 
$ Then
$   @'SDIR'rceta.sh
$   differ p4boot.com 'SDIR'p4boot.sh0
$   @p4boot 0
$ Else
$   copy 'SDIR'p4boot.sh0 p4boot.com
$   @p4boot 1    
$   @p4boot 2
$ Endif
$!----------------------------------------------------------------------
$ copy/log   Y*.EXE   CERN_ROOT:[EXE] ! <<< MODIFY THIS >>>
$ delete/log Y*.EXE;*,RCETA.*;*
$!
$ dummy=F$VERIFY(ver_proc,ver_imag)
$ SET DEFAULT 'ver_def'
$ Exit


Janne Saarela
Wed Mar 29 15:50:22 METDST 1995