Deleting MQSeries for AS/400, V5.1
There are two ways of deleting MQSeries for AS/400:
v A standard deletion removes MQSeries product code but preserves user
data.
v An entire deletion removes both MQSeries product code and user data.
Standard Deletion
Perform a standard deletion of the MQSeries for AS/400 product if you wish
to retain your user data, for example, because you intend to reinstall the
product at a later date.
To perform this deletion:
1. Quiesce MQSeries for AS/400. (See “Quiescing V5.1 of MQSeries for
AS/400” on page 24.)
2. End the MQSeries subsystem, by entering:
ENDSBS SBS(QMQM/QMQM)
3. Ensure that no locks are held on the library QMQM.
4. Use the Delete Licensed Program (DLTLICPGM) command to delete the
base product (and also the samples if you chose to install them). To delete
the base product and the samples enter:
DLTLICPGM LICPGM(5733A38) OPTION(*ALL)
To delete only the samples, you could enter:
DLTLICPGM LICPGM(5733A38) OPTION(1)
Deleting MQSeries for AS/400 in this way deletes only the objects that belong
to MQSeries. That is, the QMQM library and /QIBM/ProdData/mqm and its
subdirectories. None of the queue manager journal libraries or IFS directories
is removed.
Entire Deletion
You can, if you wish, delete MQSeries entirely, including all user data. If you
do this, save your user data first. It will not be recoverable.
To perform this deletion:
1. Using the WRKMQM command, select option 4 to delete all queue
managers on the system.
2. Quiesce MQSeries for AS/400. (See “Quiescing V5.1 of MQSeries for
AS/400” on page 24.)
Deleting MQSeries
Chapter 4. Installing, Migrating to, and Deleting MQSeries for AS/400 31