MTSMAC entry (SMPMTS)

The MTSMAC entry is a copy of a macro that resides only in a distribution library but is needed temporarily during APPLY processing. The MTSMAC entry is in the SMPMTS data set, which serves as a target macro library for such macros.

When SMP/E applies the SYSMODs that affect these macros, it calls utility programs to store the macros on the SMPMTS. This way, the most current service level of each macro is available for use in assemblies. After SMP/E has accepted all the SYSMODs that affect these macros, it deletes the associated MTSMAC entries from the SMPMTS.

Note: If you specify SAVEMTS in the OPTIONS entry that is in effect during ACCEPT processing, SMP/E will not delete MTSMAC entries from the SMPMTS after the SYSMODs that affect those macros have been successfully accepted.

Subentries

The MTSMAC entry contains no SMP/E data and appears to the system as a member of a normal macro library.

LIST Examples

You cannot use SMP/E to list the MTSMAC entries. However, you can use standard system utility programs (such as IEBGENER, IEBPTPCH, and IEHLIST) or products such as ISPF to display these entries or information about the data set.

UCLIN Examples

You can use the DEL UCL statement to delete an MTSMAC entry from the SMPMTS. This can be helpful if you plan to do an APPLY followed by ACCEPT when several target libraries have been created from the same distribution library.

When a SYSMOD is accepted into a distribution zone, the entries associated with it are automatically deleted from the SMPMTS for the RELATED target zone. However, even if the SYSMOD was also applied to other target zones created from the same distribution zone, SMP/E does not clean up the SMPMTS data sets for the other target zones.

To delete the entries from these data sets, you can accept the SYSMOD and name these other target zones as the RELATED zone. However, this would update the distribution library each time; this is time-consuming and could use up space in the distribution library data set.

Instead, you can use the DEL command to delete these entries without updating the distribution library. To determine which entries to specify, check the SMPLOG data set to see which ones SMP/E deleted during ACCEPT processing.

Note: You can also use the CLEANUP command to delete MTSMAC entries without specifying them individually. For more information about the CLEANUP command, see SMP/E for z/OS Commands.