Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

View Job Log of Completed Job

Posted on 2011-02-22
2
Medium Priority
?
1,147 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 2000 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

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

Question has a verified solution.

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

When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
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 capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
Suggested Courses
Course of the Month10 days, 4 hours left to enroll

926 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