Uninstalling Copy Services Manager

This information guides you through uninstalling Copy Services Manager.

Uninstalling on z/OS

Follow these steps to uninstall Copy Services Manager on a z/OS system.

Before you begin

Recommendation: Before you uninstall Copy Services Manager, be sure to back up data in the current installation with the mkbackupmkbackup command, as described in the IBM® Copy Services Manager online product documentation (http://www-01.ibm.com/support/knowledgecenter/SSESK4).

Additionally, review the information in Backing up and restoring product data.review the information on "Backing up and restoring product data," in the IBM Copy Services Manager User's Guide. It contains important details about other files and data that you need to back up before you uninstall Copy Services Manager.

About this task

A job file can be used to uninstall Copy Services Manager.

Some of the information in the following steps is generic and must be made specific for your particular installation.

Procedure

  1. Use a job file as shown in the following example to remove Copy Services Manager function modification identifiers (FMIDs), Hierarchical File System (HFS) files, and data sets. If you have multiple z/OS® systems that are attached to the same driver, you must detach all systems other than the system on which you are uninstalling Copy Services Manager.
    //REMTPCRM JOB ,'SMP DELETE',REGION=0M,MSGCLASS=H,MSGLEVEL=(1,1),
    //  NOTIFY=&SYSUID
    //*------------------------------------------------------------
    //* The purpose of this job is to DELETE CSM product and
    //* its associated datasets.
    //* Fill in volser, CSI and HFS dataset names
    //*------------------------------------------------------------
    //SMPE EXEC  PGM=GIMSMP,REGION=0M      SMP/E EXEC STATEMENT
    //SMPLOG DD DUMMY
    //SMPOUT   DD  SYSOUT=*
    //SMPRPT   DD  SYSOUT=*
    //SMPLIST  DD  SYSOUT=*
    //SYSPRINT DD  SYSOUT=*
    //SMPSNAP  DD  DUMMY
    //SMPHOLD  DD  DUMMY
    //*SMPTLIB DD  UNIT=3390,VOL=SER=volser,DISP=SHR
    //SMPTLIB  DD  UNIT=3390,VOL=SER=VOL,DISP=SHR
    //SMPCSI   DD  DSN=HLQ.SMPE.CSI,DISP=OLD  your csi dataset name
    //SYSUT1   DD  UNIT=SYSDA,SPACE=(CYL,(200,50)),DISP=(,DELETE)
    //SYSUT2   DD  UNIT=SYSDA,SPACE=(CYL,(33,1)),DISP=(,DELETE)
    //SYSUT3   DD  UNIT=SYSDA,SPACE=(CYL,(33,1)),DISP=(,DELETE)
    //SYSUT4   DD  UNIT=SYSDA,SPACE=(CYL,(33,1)),DISP=(,DELETE)
    //SMPWRK1  DD  UNIT=SYSDA,SPACE=(CYL,(25,25,200)),
    //             DISP=(,DELETE),DCB=BLKSIZE=6160
    //SMPWRK2  DD  UNIT=SYSDA,SPACE=(CYL,(25,25,200)),
    //             DISP=(,DELETE),DCB=BLKSIZE=6160
    //SMPWRK3  DD  UNIT=SYSDA,SPACE=(CYL,(90,45,2000)),
    //             DISP=(,DELETE),DCB=BLKSIZE=3200
    //SMPWRK4  DD  UNIT=SYSDA,SPACE=(CYL,(25,25,500)),
    //             DISP=(,DELETE),DCB=BLKSIZE=3200
    //SMPWRK6  DD  UNIT=SYSDA,SPACE=(CYL,(200,75,2000)),
    //             DISP=(,DELETE),DCB=BLKSIZE=6160
    //SMPPTFIN DD *
    ++FUNCTION(DELPROD) .
    ++VER(Z038)
      DELETE(HIWN61C,JIWN61Z).
    DELETE(HIWN62H,JIWN62X).
    /*
    //SMPCNTL DD *
      SET BDY(GLOBAL) .
      RECEIVE LIST SYSMODS .
      SET BDY(RMTZN) .
      APPLY S(DELPROD) BYPASS(ID) C(ALL) .
      SET BDY(RMDZN) .
      ACCEPT S(DELPROD) C(ALL) .
      SET BDY(RMTZN) .
      UCLIN .
      DEL SYSMOD(DELPROD) .
      ENDUCL .
      SET BDY(RMDZN) .
      UCLIN .
      DEL SYSMOD(DELPROD) .
      ENDUCL .
      SET BDY(GLOBAL) .
      REJECT DELETEFMID(HIWN61C) NOFMID .
      REJECT DELETEFMID(JIWN61Z) NOFMID .
      LIST ALLZONES FORFMID(HIWN61C) .
      LIST ALLZONES FORFMID(JIWN61Z) .
    
    REJECT DELETEFMID(HIWN62H) NOFMID .
      REJECT DELETEFMID(JIWN62X) NOFMID .
      LIST ALLZONES FORFMID(HIWN62H) .
      LIST ALLZONES FORFMID(JIWN62X) .
     /*
    //*
    //*----- This step will unmount HFS datasets associated with CSM
    //*
    //UNMOUNT EXEC PGM=IKJEFT01
    //SYSTSPRT DD SYSOUT=*
    //SYSTSIN  DD *
       PROFILE WTPMSG MSGID
       TIME
       UNMOUNT FILESYSTEM('<CSM_InstallRoot>') IMMEDIATE
       UNMOUNT FILESYSTEM('<CSM_ProductionRoot>') IMMEDIATE
    /*
    //DELETE EXEC PGM=IDCAMS
    //SYSPRINT DD SYSOUT=*
    //SYSIN    DD *
      DELETE   CSM.AIWNHFS.SYSD
      DELETE   CSM.AIWNHFSX.SYSD
      DELETE   CSM.ASAMPLIB.SYSD
      DELETE   CSM.SAMPLIB.SYSD
      DELETE   <CSM_InstallRoot>
      DELETE   <CSM_ProductionRoot>
    DELETE   CSM.AIWNHFS.SYSD
      DELETE CSM.AIXNHFS2.SYSD
      DELETE   CSM.AIWNHFSX.SYSD
      DELETE   CSM.ASAMPLIB.SYSD
      DELETE   CSM.SAMPLIB.SYSD
      DELETE   <CSM_InstallRoot>
      DELETE   <CSM_ProductionRoot>
    /*                                */
    /*  DELETE ALL SMPE DATASETS      */
    /*                                */
      DELETE   HLQ.SMPE.CSI CLUSTER
      DELETE   HLQ.SMPE.GLOBAL.SMPLOG
      DELETE   HLQ.SMPE.GLOBAL.SMPLOGA
      DELETE   HLQ.SMPE.RMDZN.SMPLOG
      DELETE   HLQ.SMPE.RMDZN.SMPLOGA
      DELETE   HLQ.SMPE.RMTZN.SMPLOG
      DELETE   HLQ.SMPE.RMTZN.SMPLOGA
      DELETE   HLQ.SMPE.SMPLTS
      DELETE   HLQ.SMPE.SMPMTS
      DELETE   HLQ.SMPE.SMPPTS
      DELETE   HLQ.SMPE.SMPSTS
      DELETE   HLQ.SMPE.SMPSCDS//
    
  2. Ensure that WebSphere® Application Server for z/OS Liberty Profile is in the stop state. For instructions for stopping WebSphere Application Server for z/OS Liberty Profile, see Configuring the IWNSRV job.

Uninstalling on distributed systems

Follow these steps to uninstall Copy Services Manager on distributed systems.

Before you begin

Recommendation: Before you uninstall Copy Services Manager, be sure to back up data in the current installation with the mkbackupmkbackup command, as described in theIBM Copy Services Manager online product documentation (http://www-01.ibm.com/support/knowledgecenter/SSESK4).

Additionally, review the information in Backing up and restoring product data.review the information on "Backing up and restoring product data," in the IBM Copy Services Manager User's Guide. It contains important details about other files and data that you need to back up before you uninstall Copy Services Manager.

About this task

Follow this process to uninstall Copy Services Manager:

Procedure

Click the shortcut, Uninstall, that is in the CSM installation directory at:
Option Description
Windows C:/Program Files/IBM/CSM/Uninstall
Linux/AIX /opt/IBM/CSM/Uninstall
  • The shortcut points to the uninstall executable file in the UninstallData directory.
    Note: The Copy Services Manager uninstaller gives you the option to either completely remove all features and components, or to leave configuration files and logs in place. If you plan to reinstall Copy Services Manager, it is suggested that you choose the option to leave these files in place. They retain user authentication data to help you get set up again faster.
  • Alternatively, you can uninstall Copy Services Manager with the program-removal function that is available on the operating system on which it was installed. For example, on Windows, you can uninstall Copy Services Manager from the Start menu (Start > All Programs > IBM Copy Services Manager > Uninstall IBM Copy Services Manager), or from the Programs category in the Control Panel.