MSGSUMMARY

The MSGSUMMARY option determines whether the compiler adds a summary of all messages that are issued during compilation into the listing.

Read syntax diagramSkip visual syntax diagram
   .-NOMSGSUMMARY-----------------.   
   |                .-NOXREF-.    |   
>>-+-MSGSUMMARY--(--+--------+--)-+----------------------------><
                    '-XREF---'        

MSGSUMMARY(NOXREF)
The compiler adds a message summary to the listing. The summary is after the file reference table in the listing. It is sorted by compiler component and within each component by severity and then by message number.

The summary includes the following information:

  • One instance of each message that is produced in the compilation
  • The number of times that each message is produced
MSGSUMMARY(XREF)
The compiler adds a message summary to the listing. The summary is the same as the one added when MSGSUMMARY(NOXREF) is specified with one difference: after each message the summary lists all the line or statement numbers where the message is issued.
NOMSGSUMMARY
No message summary is produced.

NOMSGSUMMARY is the default. When MSGSUMMARY is specified, MSGSUMMARY(NOXREF) is the default.

For the compiler listing example with a message summary generated by using MSGSUMMARY, see Figure 1.