Introduction: Recovering Releases
For each release, the ERO Option keeps a large amount of data in Db2 tables. Area libraries for even the simplest release consume at least as much DASD as all of the release packages combined.
When a release is installed, or if you abandon work on a release, you can recover release resources by executing these ChangeMan ZMF functions.
Function | Prerequisites | Actions |
---|---|---|
DL - Delete Release Libraries | - No packages attached to release - Release status is DEV status |
- Delete release area libraries. |
DR - Physical Delete | - No packages attached to release - Release status is DEV or DEL |
- Delete release records from Package Master. - Delete release area libraries. - Delete release records from Db2 tables. |
AD - Archive/Delete Release | - No packages attached to release - Release status is BAS, INS, or DEL |
- Copy release Package Master records and Db2 records to PDS. - Delete release records from Package Master. - Delete release area libraries. - Delete release records from Db2 tables. |
MD - Memo Delete | - No packages attached to release - Release status is DEV status |
- Prevents changes to release and areas. - Prevents package attach. |
Aging Release | - Status of attached packages are BAS or INS - Attached packages are aged - Release status is BAS or INS |
- Delete package records. - Delete release records from Package Master. - Delete release area libraries. - Delete release records from Db2 tables. |
ARCHIVE2 - Archive Packages and Releases | - Status of attached packages are BAS or INS - Attached packages are aged - Component history for attached packages is aged - Release status is BAS or INS |
- Delete package records from Package Master - Delete component history from Component Master - Delete release records from Package Master - Delete release records from Db2 tables - Add deleted Package Master records to cumulative archive. - Add deleted Component Master records to cumulative archive - Add deleted Db2 tables rows to cumulative archive PDS |
Each of these functions except Aging Release is executed as an option from the Release List panel in ERO Administration.
Note
While Memo Delete does not actually recover resources, it can be considered a precursor to Physical Delete and Archive/Delete since the prerequisites are similar. Memo Delete can be reversed with the UD-Undelete, returning the release to DEV status.