Skip to main content

MSGW

Short Description

The job is waiting for a message reply.

Detailed Description​

The job is waiting for a reply to an inquiry message. This often means that the job has hit an error and is waiting for an operator to answer it, and it may be holding locks that block other jobs while it waits.

How to reduce this wait​

  • Display the job's messages (WRKACTJOB option 7, or the QSYSOPR message queue) and answer the message.
  • Fix the cause of the error so that the message is not sent again.
  • For batch jobs, consider the inquiry message reply (INQMSGRPY) job attribute and the system reply list, so that known messages are answered automatically.

IBM i docs - ACTIVE_JOB_INFO table function

Search online​

If this article doesn't have the information you need you can try searching online. Remember, you can contribute suggestions to this page.