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:
November 10, 2009 2:34 PM
UPDATED:
November 27, 2009 8:38 AM
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.
If you don’t know the job name but do know the user name, try WRKUSRJOB USER(user name) to locate the job.
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.
…there is a user profile setting, accessible only via Navigator…
As noted earlier, it is not only accessible via iNav. The WRKFCNUSG is a ‘Work with…’ command that let’s you get to the green-screen option. Scan for the QIBM_ACCESS_ALLOBJ_JOBLOG Function ID. A related one is QIBM_ALLOBJ_TRACE_ANY_USER.
Technically, I doubt if any system feature is available only via iNav. Various GUI displays are obviously not available elsewhere, but the system attributes behind GUI displays can be queried by programs (in green-screen) just as they can be queried remotely by a PC running iNav. Likewise, the same attributes can be changed by sending the same commands from a program running on the host.
Tom