× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I didn't read through all of the responses. My answer to this need was to
create a system exit point to record this data, and a program to translate
that into a file through a DTAQ. We're only tracking things in QBATCH, how
long they sat in the queue, how long they ran, and the start/end
statistics. It comes in pretty handy to query if we need a quick history
of how long a particular daily job has been running. Here is the exit
point setup.

* SETUP NOTES:
* This program assumes that the following steps were taken so
that
* the DTAQ was populated (ref. QBIM_QWT_JOBNOTIFY IBM exit point
docs):
*
* 1. CRTDTAQ DTAQ(QGPL/JOBNOTIFY) MAXLEN(144) SEQ(*KEYED)
KEYLEN(4) SIZE(*MAX2GB)
* 2. ADDEXITPGM EXITPNT(QIBM_QWT_JOBNOTIFY)
* FORMAT(NTFY0100)
* PGMNBR(*LOW)
* PGM(QGPL/JOBNOTIFY)
* PGMDTA(*JOB *CALC '0002QBATCH QSYS ')
*
* Use WRKREGINF to see existing entries.


___________________________________
Darren Strong
Dekko





From: "Steinmetz, Paul" <PSteinmetz@xxxxxxxxxx>
To: "'Midrange Systems Technical Discussion'"
<midrange-l@xxxxxxxxxxxx>
Date: 04/21/2017 11:48 AM
Subject: Need to find job start, job end, calculate total job time
for a group of users, TST*, for a selected date range
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>



I need to find job start, job end, calculate total job time for a group of
users, TST*, for a selected date range.
From QHST, I was planning on dumping CPF1164 to a spoolfile/db file, then
select out the needed data.

Is there a better tool for this task?

Any thoughts from the group?

Thank You
_____
Paul Steinmetz
IBM i Systems Administrator

Pencor Services, Inc.
462 Delaware Ave
Palmerton Pa 18071

610-826-9117 work
610-826-9188 fax
610-349-0913 cell
610-377-6012 home

psteinmetz@xxxxxxxxxx
http://www.pencor.com/



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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 [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.