Is it possible to install a newer version of the CA Spool Web Interface over an existing HFS/zFS dataset that already contains an older version?

Document ID : KB000024520
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:

Is it possible to install a newer version of the CA Spool Web Interface over an existing HFS/zFS dataset that already contains an older version?

Solution:

Yes, it is possible by creating new directories to install the newer version of the CA Spool Web Interface version while using the same HFS/zFS dataset that already contains an older copy of it.

The directories for the CA Spool Web interface are named /usr/lpp/caspool and /usr/lpp/caspool/images by default.
If you want to keep both versions of the CA Spool Web interface under the same HFS/zFS dataset, you do not want to use the same directories.
You would create a new directory level in the directory path. For example /usr/lpp/caspool/v120 and /usr/lpp/caspool/v120/images.
The corresponding release dependent DDDEFs definitions (CBQ4HFBN and CBQ4HFS) have to be changed also to reflect the new path.
This is where the newer CA Spool Web interface component will be installed then.

1.- Consider using a job similar to this one to accomplish this task: 

//*********************************************************************
//*  CREATE CA SPOOL MOUNT POINT HFS DIRECTORY.                       *
//*********************************************************************
//* 
//MKDIRHFS EXEC PGM=IKJEFT01 
//SYSTSPRT  DD  SYSOUT=* 
//SYSPRINT  DD  SYSOUT=* 
//SYSTSIN   DD  * 
PROF MSGID 
MKDIR '/usr/lpp/caspool/v120'        MODE(7,7,7) 
/* 
//* 
//*********************************************************************
//*  CREATE CA SPOOL HFS DIRECTORIES.                                 *
//*********************************************************************
//* 
//MKDIRHFS EXEC PGM=IKJEFT01 
//SYSTSPRT  DD  SYSOUT=* 
//SYSPRINT  DD  SYSOUT=* 
//SYSTSIN   DD  * 
PROF MSGID 
MKDIR '/usr/lpp/caspool/v120/images' MODE(7,7,7) 
MKDIR '/usr/lpp/caspool/v120/swap'   MODE(7,7,7) 
MKDIR '/usr/lpp/caspool/v120/logs'   MODE(7,7,7) 
/* 
//********************************************************************* 
//*  CHANGE FILE PERMISSIONS FOR ALL CA SPOOL HFS DIRECTORIES.        * 
//********************************************************************* 
//* 
//HMODHFS EXEC PGM=BPXBATCH,REGION=0M, 
//         PARM='SH chmod -R 0777 /usr/lpp/caspool/v120' 
//

2.- The job must run on the same system where the HFS/zFS dataset is currently mounted for the /usr/lpp/caspool path.

3.- All the MKDIRs commands in the above first two steps can also be consolidated into one single step if necessary:

PROF MSGID 
MKDIR '/usr/lpp/caspool/v120'        MODE(7,7,7) 
MKDIR '/usr/lpp/caspool/v120/images' MODE(7,7,7) 
MKDIR '/usr/lpp/caspool/v120/swap'   MODE(7,7,7) 
MKDIR '/usr/lpp/caspool/v120/logs'   MODE(7,7,7)

4.- The MODE (7,7,7) parameter establishes the following access level 'drwxrwxrwx' for all the directories the job is creating.

Note: Newer versions of CA Spool Web interface are not forward or backward compatible with other version. New changes are incorporated across releases so unpredictable results may result should mixed modules be encountered.

Additional Information:

For more information please visit our current online documentation at our web site: CA Technologies Documentation