Disabling and discarding the application
To complete the application’s lifecycle, try disabling and discarding the installed application. You can reinstall it afterwards.
About this task
You can disable an application to make it temporarily unavailable, or discard it. When you disable or discard the application, the CICS® bundles for the application in the CICS regions are also disabled or discarded.
When you disable or discard the installed application, the application definition (APPLDEF resource) remains in the CICSPlex® SM data repository. For this scenario, you can use that application definition to reinstall the same version of the application afterwards. When you want to install a new version of an application, you replace the application definition with a new application definition that points to the new version of the application.
Procedure
- Open the CICS Cloud perspective.
- In the CICS Explorer® menu bar, click to open the Bundles view in the perspective. This view will show you what happens to the CICS bundles for the application in the CICS regions. At the moment, the CICS bundles for the application are present and enabled.
- In the Cloud Explorer view, disable the application by right-clicking on the application name and clicking Disable. CICSPlex SM disables the CICS bundles for the application. Refresh the Bundles view, and the status of the CICS bundles for the application changes to Disabled. Refresh the Cloud Explorer view, and the application status changes to Disabled.
- In the Cloud Explorer view, discard the application by right-clicking on the application name and clicking Discard. CICSPlex SM discards the CICS bundles for the application. Refresh the Bundles view, and the CICS bundles for the application are no longer present. Refresh the Cloud Explorer view, and instead of the application name, you see the name of the application definition (APPLDEF resource).
- If you want to reinstall and enable the application, right-click on the application definition and click Install. Refresh the Cloud Explorer view to see the application name, then right-click the application name and click Enable. The CICS bundles for the application are installed and enabled in the CICS regions. Refresh the Bundles view and the Cloud Explorer view to see that the bundles and the application are available again.