SMP/E for z/OS Commands
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Processing

SMP/E for z/OS Commands
SA23-2275-01

The CLEANUP command deletes entries from the SMPMTS, SMPSTS, and SMPSCDS data sets. If the set-to zone has an UPGLEVEL subentry, the CLEANUP command deletes unneeded load modules or program objects from the SMPLTS.

SMP/E opens the specified target zone and its related distribution zone for read access. It also opens the SMPMTS, SMPSTS, SMPSCDS, and (if the set-to zone has an UPGLEVEL subentry) SMPLTS for update processing.
  • For the SMPMTS, SMP/E checks which macros have MTSMAC entries in that data set and, for each entry, checks which SYSMODs are specified as the FMID, UMID, and RMID. It deletes the entries (and associated aliases) whose associated SYSMODs have been accepted into the distribution library or have been superseded by an accepted SYSMOD.
  • For the SMPSTS, SMP/E checks which source elements have STSSRC entries in that data set and, for each entry, checks which SYSMODs are specified as the FMID, UMID, and RMID. It deletes the entries whose associated SYSMODs have been accepted into the distribution library or have been superseded by an accepted SYSMOD.
  • For the SMPSCDS, SMP/E checks which SYSMODs have BACKUP entries. It deletes the entries for each SYSMOD that has been accepted into the distribution library or that has been superseded by an accepted SYSMOD.
  • For the SMPLTS, if the set-to zone has an UPGLEVEL subentry, SMP/E checks if a load module or program object contains both CALLLIBS and XZMOD subentries. If the load module or program object contains CALLLIBS, but no XZMOD subentries, it deletes the base version of the load module or program object from the SMPLTS data set. If the set-to zone does not have an UPGLEVEL subentry, SMP/E will not delete load modules or program objects from SMPLTS.

SMP/E then generates a report listing all the deleted entries and writes it to the SMPRPT data set. It compresses any data sets, if requested, and then closes them.

If there are no entries in any of the data sets, SMP/E does no cleanup, but does compress any data sets if requested. It then closes the data sets and writes a report to SMPRPT.

If SMP/E could not open a data set, or if the target zone has no record of a particular entry in one of the data sets, SMP/E issues an error message, and CLEANUP processing fails.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014