DSM
This handy utility is used to embed compiler messages into source members.
- Embed compiler messages with severity level filtering
- Embed file DDS (optional)
- Embed nesting information
- Remove all embedded information
- Colorize the source for ease of reading
This eliminates the need to print a compile listing or to view a compile listing on a split screen.
The DSM command reads the last compile listing and embeds all the compiler errors as comments within the source member while removing any previous DSM comments. This allows you to easily scan the source member and fix errors as you find them.
Additionally, for RPG and ILE RPG programs, you also have the option to embed all externally defined DDS used in the program as comments. This allows you to easily look up record formats and field names right in your source member.
DSM allows for severity level filtering to bypass all messages falling below a certain level (such as 09), and, of course, all DSM diagnostics can be cleared at any time to restore your program to its original form.