Macro Where Used (MWU) report

The Macro Where Used (MWU) report lists all macros invoked and all segments copied and included.

On CMS ASMXREF creates the MWU in a file named filename OUTMWU A, where filename is the name of the control file.

on z/OS®, the default name for the MWU, defined in the procedure supplied with ASMXREF, is userid.XREFOUT.MWU.

On z/VSE® the MWU is printed from SYSPRT.

The report includes the type and frequency of the invocation/reference.
Figure 1. Sample Macro Where Used (MWU) report
 Date: 07/11/2008         ASMXREF  V1.6.0  Macro Where Used Report        Page      1
 Time: 12:07:02                       Macro to Part Mapping - All Macros

 Macro
    Module                  #  Type

 FREEMAIN
    ASMTEST ASSEMBLE        1  ASM MACRO

    TOTAL                   1

 GETMAIN
    ASMTEST ASSEMBLE        1  ASM MACRO

    TOTAL                   1

 TIME
    ASMTEST ASSEMBLE        2  ASM MACRO

    TOTAL                   2

 WTO
    ASMTEST ASSEMBLE        1  ASM MACRO

    TOTAL                   1