Start of change

Find the job that sent a reply

This topic describes how to find the job that replied to an inquiry message.

Occasionally you may want to know the job that replied to an inquiry message on various standard message queues. The information is not available through Display Message (DSPMSG) because the reply is associated with the inquiry message (or sender copy), so when the details of the reply are viewed, the information displayed pertains to the inquiry message, not the reply. The sender of a reply can be viewed by doing a DSPMSG msgqname OUTPUT(*PRINT). The spooled file that was generated includes the sending job of the reply message.

If the message queue in question is QSYSOPR, their is another way to obtain the information. If DSPLOG is specified with a time period around the time of the inquiry message, find the reply and position the cursor on the reply message and press help and then press F9 to view details to see the job that sent the reply.

End of change