Delete the licensed program
To uninstall WAS you can remove the entire WebSphere Application Server or just portions of the WAS product. If you installed the WebSphere MQ for iSeries and WebSphere MQ classes for Java and JMS products as part of the WAS installation, then uninstall these products if you uninstall WAS. For more information, see Deleting the WebSphere MQ for iSeries and WebSphere MQ classes for Java and JMS licensed programs.
To remove the entire WAS product, perform these steps from an OS/400 command line on the iSeries server on which the product is installed:
Note: If you have installed both WAS V5.0 and WebSphere Application Server Network Deployment V5.0, this process removes both products.
Ensure that your user profile is user type (user class) *SECOFR and has a value of *USRCLS for special authority.
Stop the WAS environment. For more information, see the Shut down the WebSphere Application Server environment topic in Administration.
When the QEJBAS5 subsystem has ended, use the Delete Licensed Program (DLTLICPGM) command to delete the product.
To delete both the WAS product and the Network Deployment product:
DLTLICPGM LICPGM(5733WS5)The QEJBAS5 library and the /QIBM/ProdData/WebAS5 directory structure are removed from the system when the complete product is removed.
To remove just a portion of the WAS product, such as option 3, from your iSeries server, specify the optional part to delete.
- This example removes the components specific to option 3 (the samples gallery) of the product from your iSeries server.
DLTLICPGM LICPGM(5733WS5) OPTION(3)- To delete the WAS product only:
DLTLICPGM LICPGM(5733WS5) OPTION(1) DLTLICPGM LICPGM(5733WS5) OPTION(2) DLTLICPGM LICPGM(5733WS5) OPTION(3)
Deleting the WebSphere MQ for iSeries and WebSphere MQ classes for Java and JMS licensed programs
The WebSphere MQ for iSeries and WebSphere MQ classes for Java and JMS products shipped with WAS have a restricted license; these products can only be used with WAS. If you have purchased a full license for these products, they do not have to be uninstalled.
To uninstall the WebSphere MQ for iSeries and WebSphere MQ classes for Java and JMS products, perform these steps after you have uninstalled WAS:
Execute the WRKMQM command from an OS/400 command-line.
Select option 4 to delete all queue managers that are defined on the system.
End the WebSphere MQ for iSeries subsystem:
ENDSBS SBS(QMQM)Delete the WebSphere MQ classes for Java and JMS licensed program:
DLTLICPGM LICPGM(5639C34)Delete the WebSphere MQ licensed program:
DLTLICPGM LICPGM(5724B41)Delete the directory /QIBM/UserData/mqm and all of its subdirectories.