AS/400 job log
5 pts.
0
Q:
AS/400 job log
Sometimes, I am having a problem to find some job logs. What is the best way to look for lost job logs. Thanks
ASKED: Aug 17 2009  5:42 PM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
1720 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
Check your cleanup settings to ensure it's set to the number of days you require (chgclnup)
If it is a batch job that should produce a joblog regardless of error code, have a developer change the program to always produce one.
You can also check/change the logging level manually while the job is active or in the jobq (CHGJOB JOB(JOBNUM/USERID/JOBNAME) LOG(4 00 *SECLVL) LOGCLPGM(*YES)

------------------------------------------------------------

Not all job logs are kept, depends on error conditions and logging rules.
Job logs are typically places in outq QEZJOBLOG
Job logs can be found with WRKJOB or WRKUSRJOB
Good luck

------------------------------------------------------------

If it's for your current job you can try this:

DSPJOB
<Enter>
4. Display spooled files

Voodoo
Last Answered: Aug 18 2009  6:03 PM GMT by Voodoovw   1720 pts.
Latest Contributors: Whatis23   4040 pts., Philpl1jb   24610 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



0