× 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.



In a previous life (Elvis remembers) I did quite a bit or work with the QHST data - DSPLOG on the 2 messages given in another post might be enough, although the results are not in a record format.

I just tried a SBMJOB and did not see the CPC1236 in the log - ah, it seems to be related to the job scheduler - it does not show up for simple SBMJOB command usage. I do not recommend its use.

There are the CPF1124 and CPF1164 for start and end of jobs. The output of DSPLOG does not show anywhere near the information that is in the CPF1124, nor the CPF1164.

The text for the messages does indicate when a job entered, as well as when it started. It does not tell you whether it is a batch job or otherwise. Not even if you use *PRTSECLVL for more information in the output.

You have to go to the QHST* files for this information - it IS recorded there. You can get information on the layout of those records in CL Programming manual and in Work Management, as I recall. Both have some of the same information, each manual has some additional information.

NOTE: (Thanks to Al Barsa for this information) The names of the QHST* files are described as QHST plus 5-digit so-called Julian date plus an alphanumeric character. This does NOT give the order of the entries - when the alphanumeric characters run out, the "date" is incremented or otherwise changed. The order is actually to be found in the text description of each file, which gives the date/time range for the entries in each respective file. I found it useful to use the QUSLOBJ API into a user space, then sort with qsort on the text description.

Do take a look at those manuals, find the layout the respective messages, and see what you need to do.

HTH
Vern

Chris Bipes wrote:
DSPLOG shows CPC1236 submitted and CPF1124 Started. So it is recorded
but how to capture it and analyze the data is beyond my time to
research. But I would also like to know a solution.



Chris Bipes
Director of Information Services
CrossCheck, Inc.


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Charles Wilt
Sent: Tuesday, February 03, 2009 9:52 AM
To: Midrange Systems Technical Discussion
Subject: Tracking the average time jobs are waiting in the queue

All,

Look for a way to track the average time our jobs are waiting in a
couple of specific JOBQs to run.

Is anybody aware of a tool/package that would give me this?

And/or any thoughts on how to get the data myself; the List Job
(QUSLJOB) API is one obvious starting point.

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.