Viewing messages

The Work with Message Descriptions (WRKMSGD) or Display Message Description (DSPMSGD) command views or prints single messages or a range of message descriptions in a message file.

Here is an example of using the Display Message Description (DSPMSGD) command:

DSPMSGD   RANGE(*FIRST  IDU0571)  MSGF(QIDU/QIDUMSG)
          FMTTXT(*NO)  OUTPUT(*PRINT)

To see the exception messages which can be generated with a command, see the description of the command.