Delete Licensed Program - (DLTLICPGM) Zend Core for i5/OS

Follow

Applies To: 

[ Zend Core 2..x ]
[ IBM System i ]

Overview

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 stampt as a part of the LP the delete license program command may fail at times.   

Instructions

Note: To safely remove Zend Core from your system after Zend Server for IBM i has been installed, please verify that you are at version 2.6.1 of Zend Core for IBM i5/OS.  Please see this article for details: Safely uninstall Zend Core for IBM i5/OS when Zend Server for IBM i is installed

Perform a clean uninstall of Zend Core for i5/OS

  1. 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)
Note:
Make sure the library ZENDCORE is not locked by any other job including yours, except for the ZEND subsystem jobs. (i5_COMD, ZC_STR_PRN, ZENDCOREAP) 

Complete these steps for a failed uninstall

  1. From an i5command line: 
    • ENDSBS ZEND end the subsystem if active
    • WRKLIB ZENDCORE select option 12 to work with library
    • WRKOBJPDM LIB(ZENDCORE) OBJ(ZCOREI5) identify the two objects:
      • 1.  ZCOREI5 *PRDDFN Zend Software for IBM i5/OS
      • 2.  ZCOREI5 *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
  1. Rename the directories:
    • WRKLNK '/usr/local' and Select option 7 - rename the directory /Zend
    • WRKLNK '/www' and Select option 7 - rename the directory /zendcore
  1. Remove the directories:
    • CALL QP2TERM to start the PASE terminal shell
  1. From the terminal shell enter the commands:
    • rm -rf /usr/local/zend
    • rm -rf /www/zendcore
  1. 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')

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 stampt as a part of the LP the delete license program command may fail at times.


Original Post Date: 2011-03-27 23:09:56

External Links:

IBM Information Center

Alternative Description:

Delete Licensed Program - (DLTLICPGM) Zend Core for i5/OS

_____
Tags: DLTLICPGM,i5,i5/OS,qp2term,uninstall,WRKLNK,Zend Core,oldKB

Have more questions? Submit a request

Comments

Powered by Zendesk