Applies To:
[ Zend Core 2..x ]
[ IBM System i ]
The Delete Licensed Program (DLTLICPGM) command is used with the i5/OS 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.
- The Delete Licensed Program (DLTLICPGM) command, from an i5 command line:
- DLTLICPGM remove the product 1ZCORE5 OPTION(1) from the system.
- WRKOBJLCK OBJ(ZENDPLAT) OBJTYPE(*LIB)
- DLTLICPGM LICPGM(1ZCORE5) OPTION(1)
- From an i5 command line:
- ENDSBS ZEND end the subsystem if active
- WRKLIB ZENDPLAT select option 12 to work with library
- WRKOBJPDM LIB(ZENDPLAT) OBJ(ZPLATI5) identify the object:
- ZPLATI5 *PRDLOD Zend Platform - product load
- Select option 4= delete - remove the product load.
- DLTLIB ZENDPLAT
- Remove or Rename the Zend platform directories /usr/local/Zend/Platform & /usr/local/Zend/MySQL
- Rename the directories:
- WRKLNK '/usr/local/zend' and select option 7 - rename the directory /Platform
- WRKLNK '/usr/local/zend' and select option 7 - rename the directory /MySQL
- Remove the directories:
- CALL QP2TERM to start the PASE terminal shell
- From the terminal shell enter the commands:
- rm -rf /usr/local/zend/Platform
- rm -rf /usr/local/zend/MySQL
- You can use the following i5 commands 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/Platform')
- QSYS/CALL PGM(QP2SHELL) PARM('/QOpenSys/usr/bin/ksh' 'rm -rf /usr/local/zend/MySQL')
For more information on i5/OS commands see IBM Information Center (links below)
Excerpt: The Delete Licensed Program (DLTLICPGM) command is used with the i5/OS 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.
External Links:
IBM Information Center
Delete Licensed Program - (DLTLICPGM) Zend Platform for i5/OS