Actions needed for a job that doesn’t go to MSGW

35 pts.
Tags:
AS/400 jobs
MSGW
What actions we need to take if the job doesn't go into MSGW?

Answer Wiki

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

You should not need to take any action.

It should complete normally. 
MSGW means there is an error or it’s is waiting on data from a DTAQ or MSGQ.
What is happening to your job that is making you question it ?

Discuss This Question: 8  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
  • BigKat
    We need more information to be able to help you.  If the job isn't going into MSGW what is it doing that you feel is wrong?  What do you want it to do? 
    8,350 pointsBadges:
    report
  • WoodEngineer
    In our shop we are happy when a job does not go to MSGW.

    Are you talking about a submitted job which is scheduled to run at a later date or time?
    6,875 pointsBadges:
    report
  • SMAfrompune
    For suppose one person submitting job A and iam submitting job B. iam picking 5th record in one object and job A also picking same record . so my question is my job never goes into MSGW..What we have to do ?
    35 pointsBadges:
    report
  • pdraebel
    Is your job in a LCKW (lock wait) condition? Depending on the Wait time your job will eventually get into MSGW (Unable to allocate...)
    The only thing that can be done is to wait for the job that has the lock to finish. Sometimes one can have interlocking conflict. At that time you must decide which of the 2 jobs can be cancelled. ENDJOB.
    3,230 pointsBadges:
    report
  • ToddN2000
    If you are both trying to use the same record in the same file the second person who tries to get access should get an error. They should see a MSGW with an error "Unable to allocate record" as long as they are accessing the record for update purposes. If they do not plan on updating the record you can do a chain(N) to chain and not lock the record.
    15,605 pointsBadges:
    report
  • SMAfrompune
    what I am asking is first 'A' submit his job and he picks one record , at same time iam also submitting job 'B' with same record . i know my job will goes into MSGW but my question is when iam submitting my job it never goes into MSGW or any other .   
    35 pointsBadges:
    report
  • ToddN2000
    Without knowing your job, it could be waiting on data from a data queue or message queue. If the other job does not go into a MSGW status it may be checking for locks and looping until freed...IT could be a number of other things..
    15,605 pointsBadges:
    report
  • WoodEngineer
    If your job B does not try to read the record for update, your program will go merrily on its way.  No MSGW or LCKW.
    Do you have the source for B?
    6,875 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