Printing all messages in the message queue

Sometimes a problem has many messages associated with it. To organize these messages that are reporting possible problems, you can print them from a message queue.

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

  1. From the 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) from the command line.