AS/400 batch jobs

5 pts.
Tags:
AS/400 batch jobs
AS/400 jobs
AS/400 performance
if a batch job is consuming lot of process time , how to find out the reason for it while the job is running ?

Answer Wiki

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

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

Discuss This Question: 3  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
  • Voodoovw
    It it always the same job? If so what is the job name?
    1,735 pointsBadges:
    report
  • Yorkshireman
    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...
    5,580 pointsBadges:
    report
  • Whatis23
    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.
    5,665 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