Solved

WRKACTJOB - MSGW

Posted on 2009-06-30
4
3,157 Views
Last Modified: 2013-12-06
Hello Every One,
I have recently joined a bank as the Production support for their AS400 application written in RPGLE & S36
In My carrier I never worked as the production support, I am always being the programmer. Ok I will come to the point.

As my jobs goes I have to monitor the WRKACTJOB and answer those messages on the regularly basis probably 150 per day, Being new to the job
I am not really sure what those PGMs are doing and waiting for the MSGW but I am sure those are required for the Bank business.

Which I check the job log , I am getting some idea because of those old PGMs I am not really sure  what those jobs are trying to do.
It is impossible for me to check every PGM for which I am answering for.

My question is their any easy way I can check what this JOB is all about?  All I am looking for some experts advice how to handle this jobs alerts effectively?,

What / where/how to look those details instead of looking in to the PGM.
I am not looking for the Specific Answer, some meaning full light will help me that will be fine.
Please put yourself in to this position and tell me what you will do ?
TIA- Oramcle
0
Comment
Question by:Oramcle
  • 2
4 Comments
 
LVL 34

Accepted Solution

by:
Gary Patterson earned 250 total points
ID: 24749299
Wow, if you are talking about 150 program error messages a day, that is terrible!

Why don't you post some of the messages that you are getting.

If you don't know what the programs are doing, how do you know how to answer the messages?  What answers do you give?  Answering program messages with the wrong answer for your application can sometimes result in data corruption.

From WRKACTJOB, you can take option 7 to display messages, press F1 for second-level message information, and take a screen print and post it here, also press F9 to get the detailed message info, including the name of the sending program or procedure.  

You can also use option 5 and look at the job log for more information about earlier diagnostic messages that were issues before the escape message  They will be at the bottom of the log (use F18 to jump to the bottom after pressing F10 for detailed messages).

From WRKACTJOB, if you take option 5 on an active job, you can learn all kinds of things about the job.  On the next screen, take option 30, and you can start walking through all of the job settings, you'll see the job parameters, the job log (you may need to display details) which often includes a ton of information about the job and any errors that have occurred, spooled files generated by the job, the programs currently on the call stack, the libraries in the jobs library list, the locks the job is holding, communications resources, and much more.  Most of this info goes away once the job completes, but it will stay there indefinitely while in MSGW.

- Gary Patterson
0
 
LVL 27

Assisted Solution

by:tliotta
tliotta earned 250 total points
ID: 24750664
Minor note... a job with status MSGW can be either waiting for someone to answer a message or waiting for a message to arrive on a message queue that the job is monitoring. You'll learn the difference when you try to answer a message when a job is monitoring a message queue.

Messages might not be "errors" but maybe just notifications. Printers might need attention for forms changes. Files might have arrived via FTP. Printer files and database files might need permission to grow beyond basic limits.

Ideally, all of those should be automated and handled by programming or by proper design. But a "bank" might be so regulated that changing any programming can take months just for approval to start working on it. (We see some _very_ slow banks that take a long time to get simple things done.)

In any case, a given message (forms change on a printer for example) might have little to do with the purpose of a given job, or at least it might be difficult to see the connection or reasoning. Most of us will never see a job that prints with OVRPRTF SPOOL(*NO), but printing bank checks might need that many times per day (secure printing; no spooling).

You might simply need to build up some experience in the environment. Seeing the pattern of messages might tell you much more than we can say from here.

Tom
0
 

Author Closing Comment

by:Oramcle
ID: 31598512
Thanks Guys, Like i said in my question  All I am looking for some experts advice how to handle this jobs alerts effectively?....
Looks like this is the path i am already on... meaning  i get confirmed from you Experts that i am in right path....  Thank you Very Much Oramcle
0
 

Author Comment

by:Oramcle
ID: 24751092
I am sorry that i cannot Post my MSGW screen here, hope you know Why ?   Yes i am working in a BANK !!!!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Often we come across situations wherein our batch files would be needing to reboot Windows for a variety of reasons. A few of them would be like: (1) Setup files have been updated whose changes can take effect only after a reboot …
Sometimes a user will call me frantically, explaining that something has gone wrong and they have tried everything (read - they have messed it up more and now need someone to clean up) and it still does no good, can I help them?!  Usually the standa…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
A short film showing how OnPage and Connectwise integration works.

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now