Next: VM/CMS Up: CERNLIB Previous: VMS systems

VM/CMS systems

On VM/CMS systems, we must modify the file MAKELIB NAMES as appropriate.

Adding a new module to an existing set

In the following example we wish to add two new modules to the set HEPDBSET. This is initially defined as shown below.

Initial definition of HEPDBSET

* CERNPGM subentries      ----------------------------------------------

:NICK.MAKE_FATSET
:JOB.FATSET    :BOPT.TIME  0:00 JOBID FATSET
               :QSUB.
:FROM.FATMEN FATNEW FATSRV FATSEND

:NICK.MAKE_HEPDBSET
:JOB.HEPDBSET  :BOPT.TIME  0:00 JOBID HEPDBSET
               :QSUB.
:FROM.CDSERV HEPDB

:NICK.MAKE_RZCONV
:JOB.RZCONV    :BOPT.TIME  0:00 JOBID RZCONV
               :QSUB.
:FROM.RTOX RTOA RFRX RFRA

We now add the modules CDMAKE and CDMOVE, which gives us the following entry.

New definition of HEPDBSET

* CERNPGM subentries      ----------------------------------------------

:NICK.MAKE_FATSET
:JOB.FATSET    :BOPT.TIME  0:00 JOBID FATSET
               :QSUB.
:FROM.FATMEN FATNEW FATSRV FATSEND

:NICK.MAKE_HEPDBSET
:JOB.HEPDBSET  :BOPT.TIME  0:00 JOBID HEPDBSET
               :QSUB.
:FROM.CDSERV HEPDB CDMOVE CDMAKE

:NICK.MAKE_RZCONV
:JOB.RZCONV    :BOPT.TIME  0:00 JOBID RZCONV
               :QSUB.
:FROM.RTOX RTOA RFRX RFRA

In addition, we must add entries for CDMOVE and CDMAKE as shown below.

Build definitions for CDMAKE and CDMOVE

:NICK.MAKE_CDMAKE
:JOB.CDMAKE    :BOPT.TIME  1:00 JOBID CDMAKE
               :QSUB.
:HASM.(BATCH   :FORTVS.(TERM TRMFLG FLAG(I)
:CERNLIB.PACKLIB ( LINK
:LOAD.CDMAKE  ( NOAUTO CLEAR
:INCLUDE.ENDMODU       :GENMOD.CDMAKE  ( TO ENDMODU RMODE ANY AMODE ANY

:NICK.MAKE_CDMOVE
:JOB.CDMOVE    :BOPT.TIME  1:00 JOBID CDMOVE
               :QSUB.
:HASM.(BATCH   :FORTVS.(TERM TRMFLG FLAG(I)
:CERNLIB.PACKLIB ( LINK
:LOAD.CDMOVE  ( NOAUTO CLEAR
:INCLUDE.ENDMODU       :GENMOD.CDMOVE  ( TO ENDMODU RMODE ANY AMODE ANY

Changing the version of an existing package

Certain packages, notably the Monte Carlo libraries, contain the version number in the source and library file names. When a new version is received from the authors, the following must be done:


goossens@cern.ch