Solved

View Job Log of Completed Job

Posted on 2011-02-22
2
1,137 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

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

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

One of the features I've come to appreciate about Windows 7 and Windows Server 2008 R2 is the ability to pin applications to the task bar. As useful a feature as I've found this, it does have some quirks.  For example, have you ever tried pinning an…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.
Suggested Courses

623 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