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
Solved

View Job Log of Completed Job

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Hi Friends, These registry tweaks will help you optimizing your Windows 7 system for any VDI. This will improve the machine performanance and can be used on normal systems also. These are few registry tweaks which will add value by enhancing the …
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 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…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

856 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