When will a job go to MSGW?

pts.
Tags:
AS/400 job logs
AS/400 jobs
Job in MSGW
MSGW
MSGW status
When will a job go to MSGW and how to see the associated files when a job is in MSGW?

Software/Hardware used:
AS400

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi,

When any job encountered a run time error, then the program halts execution and waits for the user reply. This stage is known as MSGW of a job.
Take option 5 against the job and then use 11 to check the which program being halt in execution, and use 14 to view the list of files in use.

-Varun.

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    A job will be in MSGW status whenever it is waiting on a message for a message. There are two general causes. First, a program might send an *INQ (inquiry) message. While it waits for a reply, the job status will be MSGW. The message is often due to an error that a program ran into, and the program has asked for what action to take next. The *INQ message is sent to the QSYSOPR message queue by most jobs running batch. This is probably the most common situation. Second, a program might be receiving messages from a message queue. While it waits for a new message to arrive on the queue, the job is in MSGW status. This is a normal status for jobs that are running as "message queue monitors". In both cases, there is no requirement for any files to be accessed at all. However, you can use DSPJOB with the OPTION(*OPNF) parameter against the job to see any files that the job has open. Tom
    125,585 pointsBadges:
    report
  • TomLiotta
    Typo -- "whenever it is waiting on a message for a message" should be "whenever it is waiting on a message QUEUE for a message". Tom
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following