SMP/E for z/OS User's Guide
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


++MAC and ++MACUPD MCSs

SMP/E for z/OS User's Guide
SA23-2277-01

The ++MAC and ++MACUPD statements are used to identify a replacement and update to a macro in the distribution library and associated target libraries.

The data following the ++MAC statement is the macro replacement. The general format of the ++MAC statement is:
++MAC(macname)              /* Macro name              */
     DISTLIB(dlibname)      /* DLIB ddname             */.
…
… Macro replacement
…
The data following the ++MACUPD statement is the control statements that would have been used if you called the IEBUPDTE utility. The general format of the ++MACUPD statement is:
++MACUPD(macname)           /* Macro name              */
     DISTLIB(dlibname)      /* DLIB ddname             */.
…
… Update control statements
…

The following restrictions are enforced by SMP/E:

  1. The first statement must be the “./ change name=macname” control statement.
  2. The name specified on the change statement must be the same as on the ++MACUPD statement.
  3. No insert or delete statement can be used. Inserting must be done by manually assigning each line a number. Deleting must be done by commenting out the line. This restriction enables SMP/E to merge the update control statement when multiple SYSMODs modify the same macro.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014