AS/400 job log

20 pts.
Tags:
AS/400 jobs
AS/400 logs
Sometimes, I am having a problem to find some job logs. What is the best way to look for lost job logs. Thanks

Answer Wiki

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

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

Discuss This Question:  

 
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

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