Printing Job Performance Information from the History Logs

Recent midrange listserv discussions have asked how to best retrieve information from OS/400’s history log files. Unfortunately, there is no API that allows instant access. One of the methods available to retrieve history file information is by listing them to an outfile where they can be read by a program. It is this method that is used in this issue’s utility by Carsten Flensburg.

Carsten’s utility lists all history files to an outfile, processes log file records to retrieve job performance information, then prints performance information, such as start and stop times, total CPU seconds, and so on, for each job. To keep processing time and file sizes manageable, the utility only processes history entries for the past three days. However, you can easily alter the limit in the source code.

Download the save file containing the source code.

Read the entire article

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s