Solved

View Job Log of Completed Job

Posted on 2011-02-22
2
1,128 Views
Last Modified: 2012-08-14
Is there a way to view a job log of jobs that have ended/completed?  I can use the DSPLOG command and see where a job started and ended.
Example:

CPC1236  00  COMPLETION   Job 104683/CONS/LDRTEINF submitted for job
schedule entry LDRTEINF number 000028.
                      QJOBSCD    QSYS       104405
02/21/11 04:51:00.579832

CPF1124  00  INFO         Job 104683/CONS/LDRTEINF started on 02/21/11
at 04:51:00 in subsystem QBASE in QSYS. Job entered system on 02/21/11 at 04:51:00.
 
X
                      LDRTEINF   CONS       104683
02/21/11 04:51:00.693640
SSP0305  00  INFO         PROCEDURE
NAME=LDRTEINF
                      LDRTEINF   CONS       104683
02/21/11 04:51:00.705744
CPF1164  00  COMPLETION   Job 104683/CONS/LDRTEINF ended on 02/21/11
at 04:51:00; 1 seconds used; end code 0

but I would like to be able to see detail of the job 104683/CONS/ LDRTEINF.

Thanks,
Chad
0
Comment
Question by:DCS12
2 Comments
 
LVL 34

Accepted Solution

by:
Gary Patterson earned 500 total points
Comment Utility
Job logs only exist while a job is active.  

If the job is configured to produce a printed copy of the job log at termination, then there may be a spooled file containing the job log information:

WRKJOB 104683/CONS/LDRTEINF, option 4.

Don't wait too long, though.  Depending on the system cleanup schedule, job logs are often automatically deleted after a few days.

If the job is not configured to generate a printed job log, and you want one, you need to change the LOG parameter of the SBMJOB command or the ADDJOBSCDE command, or the job description associated with the job.

- Gary Patterson
0
 

Author Closing Comment

by:DCS12
Comment Utility
Thanks. That is what I thought, but wanted to verify.

0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…

728 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

10 Experts available now in Live!

Get 1:1 Help Now