Cleaning up fixes

If you are running out of storage space on your system, it might be time to delete your save files and cover letters for IBM® i fixes.

Over time, save files and cover letters for fixes tend to accumulate. After you have permanently installed a fix and performed a SAVSYS operation, you might want to delete the fix save file and cover letter if you do not need to distribute it to another system and if you are satisfied that the fix is not defective. Once a fix has been permanently installed and the save file is deleted, all information about the fix except the status information is also deleted. By deleting the save file, you can make more room on your system for other files.

Deleting save files with IBM Navigator for i

IBM Navigator for i provides you with a way to delete save files and cover letters for fixes that are no longer needed. To clean up your save files and cover letters, follow these steps:
  1. In IBM Navigator for i, expand IBM i Management > Configuration and Service > Program Temporary Fixes > PTFs.
  2. Do one of following to clean up save files and cover letters:
    1. Click PTFs to show a list of products on the system. Right-click a product and select Clean Up PTFs to clean up save files and cover letters for all fixes of this product.
    2. Navigate through the PTF tree until you locate the option that contains the fixes you want to clean up save files and cover letters for. Select the fixes and select Clean Up in the Actions dropdown.

Deleting save files with the DLTPTF command

From the character-based interface, use the Delete Program Temporary Fix (DLTPTF) command to delete PTF save files and cover letters. Do not use the Delete File (DLTF) command to delete PTF save files. If you use the DLTF command, the PTF function will not detect that you deleted the save file.

Note: Fix save files and cover letters for a previous release are removed during automatic cleanup if system logs are specified.

Cleaning up PTF groups

If you follow a PTF (fix) maintenance strategy, you normally might have several PTF groups stored on your system. A PTF group is automatically deleted if the PTF group does not contain a target release or if the target release is less than the current release and the PTF group does not contain PTFs for any installed or supported licensed programs. PTF groups are automatically deleted when you upgrade to a new release of IBM i and during Operational Assist (OA) cleanup.

If you want to manually delete a PTF group, follow these steps:

  1. Use the Work with PTF Groups (WRKPTFGRP) command.
  2. Select option 4 next to each PTF group that you want to delete.
Note: Deleting a PTF group deletes only the PTF group information from the system. It does not delete or remove any PTFs from the system or any related PTF groups that are defined in the PTF group.