Applies To:
[ Zend Core 2..x ]
[ IBM i ]
Overview
The Delete Licensed Program (DLTLICPGM) command is used with the IBM i O/S to delete all the objects that make up the licensed program.
When a change is made to any of the LP objects, an object is added to a library or a directory that is stamped as a part of the LP/ The delete license program command may fail at times.
Instructions
- The Delete Licensed Program (DLTLICPGM) command, from an i5command line:
- DLTLICPGM remove the product 1ZCORE5 from the system
- WRKOBJLCK OBJ(ZENDCORE) OBJTYPE(*LIB)
- DLTLICPGM LICPGM(1ZCORE5)
Complete these steps for a failed uninstall
- From a 5250 command line:
- ENDSBS ZEND end the subsystem if active
- WRKLIB ZENDCORE select option 12 to work with the librarY
- WRKOBJPDM LIB(ZENDCORE) OBJ(ZCOREI5) identify the two objects:
- ZCORE *PRDDFN Zend Software for IBM I5/OS
- ZCORE *PRDLOD Zend Core - product load
- Select option 4= delete - remove the product definition and product load.
- DLTLIB ZENDCORE
- Remove or Rename the Zend products directories: Usr/local/Zend & www/zendcore
- Rename the directories:
- WRKLNK '/usr/local' and Select option 7 - rename the directory /Zend
- WRKLNK '/www' and Select option 7 - rename the directory /zendcore
- Remove the directories:
- CALL QP2TERM to start the PASE terminal shell
- From the terminal shell enter the commands:
- rm -rf /usr/local/zend
- rm -rf /www/zendcore
- You can use the following i5 commands include in a CLP as well to remove the product this step is the same as before to remove the directories:
- QSYS/CD DIR(/)
- QSYS/CALL PGM(QP2SHELL) PARM('/QOpenSys/usr/bin/ksh' 'rm -rf /usr/local/zend')
- QSYS/CALL PGM(QP2SHELL) PARM('/QOpenSys/usr/bin/ksh' 'rm -rf /www/zendcore')