AS/400 batch jobs
5 pts.
0
Q:
AS/400 batch jobs
if a batch job is consuming lot of process time , how to find out the reason for it while the job is running ?
ASKED: Aug 1 2009  12:55 AM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
235 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
DspJob
Check the job log - is it moving through multiple calls?
Check files - you can see if program is moving through records - probable sign that it isn't in an endless loop

Check the call stack - refresh it repeatedly noting the statement #'s processed .. is it in a tight loop.

Phil

Hi,

What you also want to check:

1) Enter 5 next to the concerning job
2) Choose 14 (Display open files, if active)
3) F11=Display I/O details and refresh to find which files are being updated.
4) Leave this screen and choose Option 12(Work with locks, if active)
5) Check if there are any locks on objects, which might prevent the job from processing.
6) If this is the case, find out which user or userjob is causing this lock and ask to cancel their job if
this job has priority.

Regards,

Roy
Last Answered: Aug 4 2009  8:55 AM GMT by 4819   235 pts.
Latest Contributors: Philpl1jb   24570 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Voodoovw   1720 pts.  |   Aug 2 2009  5:02PM GMT

It it always the same job?
If so what is the job name?

 

Yorkshireman   3200 pts.  |   Aug 3 2009  2:50PM GMT

Run Performance monitor whilst teh job is active and review the results.

PM will give you everything you need to discover where the problem is.

You’ll need to skip through the manual alongside the performance data - see if its disk bound - see which file(s) are the problem

then make some changes, run PM, compare results, make changes, run PM, compare results , make changes

you get the idea…

 

Whatis23   4040 pts.  |   Aug 3 2009  4:48PM GMT

If it is an existing job, verify if the job has been updated recently by your developement group. If the increase has been gradual, you may need to reorg the PF(s) it is using.

 
0