Example: Deleting an MTSMAC entry

Assume that you have two target zones, TGT1 and TGT2, generated off the same distribution zone, DLB1. During ACCEPT processing of a SYSMOD, SMP/E has deleted MTSMAC MAC01 and MAC02 from the SMPMTS data set associated with target zone TGT2. After performing the ACCEPT, you want to delete the same macro from the SMPMTS associated with target zone TGT1. Assume either that you have a cataloged procedure for TGT1 with the correct SMPMTS specified, or that you have set up the correct DDDEF entries. The following UCLIN can be used to delete the MTSMAC entry:
SET      BDY(TGT1)          /* Set to TGT zone.         */.
UCLIN                       /*                          */.
DEL      MTSMAC(MAC01)      /* Delete the macro.        */.
DEL      MTSMAC(MAC02)      /* Delete the macro.        */.
ENDUCL                      /*                          */.
Note: One UCL statement is required for each MTSMAC entry to be deleted.

You can make the same changes by use of system utilities. However, the SMPLOG will not reflect the processing done.