Freeing packages
When you free, or delete, a package, the corresponding package information is deleted from the Db2 catalog. You can delete a specific version of a package, all versions of a package, or whole collections of packages.
Procedure
To free a package:
- On the DB2 Administration Menu (ADB2) panel, specify option 1, and press Enter.
- On the System Catalog (ADB21) panel, specify option K (for packages), and press Enter.
- On the Packages (ADB21K) panel, specify the F line command next to the package that you want to free.
-
On the Free Package (ADB21KF)
panel, specify the options that
you want, and press Enter:
Attention: Use asterisks (*) carefully to avoid unintended consequences. For example, If you specify an asterisk (*) in the Collection field, all packages with the specified name and version number are freed. If you specify a collection name and an asterisk (*) in both the Name and Version fields, all packages in that collection are freed.
Figure 1. Free Package (ADB21KF) panel ADB21KF n DC1A Free Package 11:32 Command ===> FREE PACKAGE ( Location . . > (Blank for local) Collection . DSNADM > Name . . . . DSNADMGU > ( Version . . . PI57806P )) PLANMGMTSCOPE (All, Inactive, Previous, Original, Phaseout) INVALIDONLY (No/Yes)