Example 4: Packaging a renamed macro

Suppose that, for some reason, you need to rename macro USRMAC02, which was introduced in Example 3: Adding a new macro. The new name is to be USRMACXX. You do not need to change anything else about the macro. Here is an example of a SYSMOD containing the ++MAC statements needed to package this renamed macro:
++USERMOD(USR0003)          /* User modification        */.
++VER(Z038) FMID(HUSR001)   /* to user application.     */
               PRE(USR0002) /* Base on previous USERMOD.*/.
++MAC(USRMAC02)             /* Delete the original      */
            DELETE          /* macro.                   */.
++MAC(USRMACXX)             /* Add the renamed macro    */
            DISTLIB(AUSRMACS) /* to this DLIB           */
            SYSLIB(USRMACS) /* and to this tgt lib      */
            MALIAS(TERMINAL)/* with this alias.         */
            ASSEM(USRASM01, /* Assemble these modules.  */
                  USRASM02, /*                          */
                  USRSRC01, /*                          */
                  USRSRC02) /*                          */
                            /* Inline text follows.     */.
...
... macro USRMACXX goes here
...