You could do this in a few steps:
1) Command DSPLOG to the Printer, include only MSGIDS CPF1124 and
2) Command CPYSPLF to a PF
3) Create a Query/SQL/etc. that includes only the "Severity = 00',
and sort by the Job Number and Msg ID
This will show you the Start and Stop times for each job.
EPC Molding, Inc.
Direct (320) 679-6683
Toll free (800) 388-2155 ext. 6683
Fax (320) 679-4516
"Oscar Navas" <morisn@xxxxxxxxx>
Sent by: midrange-l-bounces@xxxxxxxxxxxx
10/27/2007 11:26 PM
Please respond to
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Capturing job log information on a text file
I had sent the question included herein to be posted on RPG 400
to rpg400-l-owner@xxxxxxxxxxxx; however, it got rejected since the
moderator considered it had nothing to do with RPG programming. Well,
they advised me to send it to this forum, I am proceeding as suggested and
hope this time around it gets approved for posting. Thank you, in advance.
The message I would like to be posted is as follows:
First of all, I am not a programmer, so what I'm looking for is some sort
guidance with a project I have.
I know AS/400 from a user/administrative perspective but I have been asked
to come up with a way to export the start and end times of jobs running in
QBATCH subsystem to a flat file that then can be exported to a document
as a spreasheet. This is to reflect the times both start, end and the
the elapsed time for a series of jobs that run in a daily basis.
Since I have no prior programming experience on RPG or COBOL or the sort,
have no clue on how to do this (well, so maybe someone can start by
recommending me to study programming in this environment but I would like
take that approach only if necessary)
I have tools such as the entire IBM ISeries Access for Windows kit (That
comes with a green screen 5250 emulator and Windows Navigator interface)
cannot seem to find a way to do that here.
If I could only find a way to capture the start and end times of jobs
job log) and export that information to a file, that's basically all I
Any one has any idea? Maybe someone can even refer me to a proper forum.
Thanks a lot for any help.....In advance.
This thread ...
RE: Capturing job log information on a text file, (continued)
This mailing list archive is Copyright 1997-2020 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact