Print all messages in the message queue

Sometimes a problem has many messages associated with it.

To help you organize messages that are reporting possible problems, you can print the message from a message queue.

To print messages from a message queue, follow these steps:

  1. From the i5/OS™ Main Menu, select option 3 (General Systems Tasks).
  2. From the General Systems Tasks display, select option 4 (Messages).
  3. From the Messages display, select option 3 (Display Messages).
  4. In the Message queue parameter field, enter the name of the message queue that contains the messages which you want to print.
  5. In the library parameter field, specify the library where the message queue resides.
  6. In the Output parameter field, enter the value, *PRTWRAP.
  7. (Optional): To quickly print messages, type DSPMSG MSG(MSQNAME) OUTPUT(*PRTWRAP) at the command line.
Related tasks
Print messages