|
What Get Job Log (GETJOBLOG) is
The Get Job Log (GETJOBLOG) command displays an iSeries job log in an
X window based editor. The editor windows are scrollable, movable, and
sizable. The editors used have many features that will aid in navigating
job logs such as search utilities and menu options that highlight problem
areas of the job log. The default job log displayed is the job log of the
current job. The JOB parameter can be used to view any job log a user is
authorized to.
Quick Reference
GETJOBLOG
JOB(* | Job Identifier)
Specifies the 26 character job identifier of the job whose job log
is to be shown. The possible values are:
* - The job whose job log is shown is the job
in which this command is issued.
job name - Specify the name of the job whose
job log is shown.
Usage Notes
The job log is by default displayed with the EZ editor for details
on how to use EZ for simple tasks such as search forward and backward see
the
EZ help file
When the Job log is displayed with the EZ editor, there are two menu
options supplied specifically to help navigate a job log. Use the
View menu and the JoblogTOC to view a list of all the Escape and Diagnostic
messages in the job log. You can use the MessageIDToc option to view
a list of all the strings that match the pattern of a seven character message
id. Here is an image of the MessageIDToc in action:

View actual size
Customizing the search options
The menu options JobLogTOC and MessageIDToc can be customized to search
for specific strings or patterns of your choosing. Edit your initfile
(/home/youruserid/.ezinit) and you will see the entry that defines the
JobLogTOC
addmenu findallview-start-findall "View,JoblogTOC" view findallview
inherit " Escape\n Diagnostic \n"
Change the strings to search for " Job Failure Section\n" or
whatever string you might typically look for when examining a job log.
Use of EMACS
A user is allowed to choose between two editors, EZ or EMACS, when
viewing a job log. The editor can be specified by entering a value at the
EDITOR parameter in the STRPTL command or at the EDITOR parameter at
the CHGPTLSSNA command.
Prerequisites
The GETJOBLOG command requires that OS/400 PASE (option 33 of the operating
system) is installed and an X server is running on the client device.
Related topics
|