How to see/check other person’s JOBLOG to analyze the problem?
55 pts.
0
Q:
How to see/check other person's JOBLOG to analyze the problem?
Dear all,
How to see/check other person's JOBLOG to analyze the problem?( i.e. to check what has gone wrong.)
Is there a way to check the JOBLOG of a JOB which is not active currently?
I would be more than Happy; if you can explain me with an example.

Thanks in Advance,
Svanky

Software/Hardware used:
AS/400
ASKED: Nov 10 2009  2:34 PM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
7610 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
use command wrkoutq qezjoblog
and look for the log of the user to analyze.

+++

QEZJOBLOG can be quite large
If you know the job name, you can do WRKJOB JOBNAM.
You will then get a list to select from.
Take option 1 to select, then option 4 to look look at spool files.
Not all all jobs will create a joblog entry in the spool file.
If depends on what you setting are for the job.

____________

If the job is still active or in the jobq, you can manually change the job to produce a joblog.
Prompt option 2 next to the job, press F10, F11, scroll down once and check if the parms for LOG are (4 00 *SECLVL) and LOGCLPGM *YES.

===============================================

You need to know what the name of the job was or at least the name of the user. AND the joblog had to be spooled when the job ended.

If you know the name of the job, you can start with DSPJOB <jobname>. If anything still exists from the job, spooled reports or the spooled joblog, then you'll be able to look at them. Otherwise the job is gone.

If you don't know the name of the job (and the joblog was spooled), you can use WRKSPLF <username>. The spooled joblog should be at the end of any list that shows.

No matter what, if the job wasn't set up to retain a record of its joblog, then it's gone.

Tom
Last Answered: Nov 11 2009  7:08 AM GMT by TomLiotta   7610 pts.
Latest Contributors: Whatis23   4040 pts., CharlieBrowne   6350 pts., Mcarpntr   85 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Pdraebel   865 pts.  |   Nov 12 2009  8:46AM GMT

Assuming a job log is produced (normally if settings are correct a failing job would produce a joblog) you have several commands to check for the joblog. First would be WRKJOBLOG.
You may not be authorised to view the joblog of users that have *ALLOBJ authority and your profile has not. This joblogs can be viewed but you’ll have to use WRKFCNUSG to allow your profile to view those joblogs.

 

Splat   1040 pts.  |   Nov 12 2009  3:23PM GMT

If you don’t know the job name but do know the user name, try WRKUSRJOB USER(user name) to locate the job.

 

CarterC19   170 pts.  |   Nov 12 2009  3:26PM GMT

Actually, there is a user profile setting, accessible only via Navigator, that will allow a user who does *not* have *ALLOBJ authority to view the joblog of a user that *does* have *ALLOBJ authority. Right-clicking the profile to get Properties, click the Applications tab, change the drop down to Host applications, and under the I5/OS / All object subcategory you will see a checkbox to ‘Access joblog of *ALLOBJ job’. Check that and you’re good to go.
True, you gotta go well out of your way to do it, but I imagine in the security world that’s how it should be.

 
0