Solved

View Job Log of Completed Job

Posted on 2011-02-22
2
1,132 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 35

Accepted Solution

by:
Gary Patterson earned 500 total points
ID: 34953999
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
ID: 34954103
Thanks. That is what I thought, but wanted to verify.

0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.

740 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