SMP/E is a tool in the z/OS system to manage the installation of z/OS and its associated products and to track the relevant fixes for these products. Currently, many articles have described how to use smp/e to install related products on z/OS. This article focuses on how to use smp/e to uninstall software products that are installed on z/OS.
A software PRODUCT on the z/OS system consists of one or more fmid (Function modification Identifier). Uninstalling a SOFTWARE PRODUCT on z/OS is to remove the fmid of the product from the system and delete all its associated data sets and file systems. SMP/E provides a simple command restore that can be used to remove a product that is installed only in Target Zone, but cannot be deleted with the RESTORE command if the product is also installed to Dlib Zone. This article describes a method called Dummy delete that uninstalls installed software products on z/OS (installed to target Zone and Dlib Zone) and describes the uninstall process in detail with a specific instance.
Dummy Delete, as the name suggests, requires creating a fictional product and using the ++ver Delete control statement to uninstall other software products. The ++ver Delete control statement is defined in a Sysmod mcs to remove all sysmod contained in the DELETE statement at the same time when the Sysmod is installed. It is with this function that we are able to uninstall the software products. Here's a concrete example of how to use this method to remove a software PRODUCT on z/OS IBM 31-bit SDK for z/Os V6. The product contains only one fmid HJVA601. Suppose the product is installed in the following environment:
Csi:zos. Java. Csi
Target zone:java61t
Dlib zone:java61d
Dataset Prefix:java. Java61;volume:vljava
Step one: Fictitious product and receive (receive) to global Zone.
Fictitious a product, define its fmid as DEJAVA6, and receive (receive) the fictitious product to global Zone. This fictitious Fmid name can be arbitrarily specified, just conform to the Fmid naming convention. Add the following to the MCS in this Fmid
++ver DELETE statement: Delete (HJVA601). The implication is that when you install the product DEJAVA6, delete the product HJVA601 at the same time. The job is as shown in Figure one:
Figure 1. Fictitious products and receive
Step Two: Apply this fictitious product.
Use smp/e's apply command to install this fictitious product into target zone. While this product is installed, SMP/E removes the product HJVA601 from Target zone and deletes its Target dataset on disk (this procedure deletes only members in partitioned data set and does not Can delete the partitioned Data set itself) as well as the file system. Before the actual apply, you can also develop check parameters for apply detection, after the inspection is correct and then complete the apply process. After apply this fictitious product, HJVA601 in target Zone java61t state is Del, that is delete state. The job is shown in Figure 2:
Figure 2:apply This fictional product
More Wonderful content: http://www.bianceng.cnhttp://www.bianceng.cn/OS/other/