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



Rob Berendt wrote on 05/08/2007 07:58:46 AM:

I don't think you can, except by analyzing certain joblogs. You can pin
down activity by the following:
CHGOBJAUD OBJ(ROB/ONEATATIME) OBJTYPE(*JOBQ) OBJAUD(*CHANGE)
08:49:35 - HLDJOBQ JOBQ(ROB/ONEATATIME)
08:49:38 - RLSJOBQ JOBQ(ROB/ONEATATIME)
08:51:27 - SBMJOB CMD(DSPOBJD OBJ(ROB/ONEATATIME) OBJTYPE(*JOBQ)
OUTPUT(*PRINT)) JOBQ(ROB/ONEATATIME)
DSPJRN JRN(QAUDJRN) FROMTIME(050807 084934) JOB(435313/ROB/ROBHQ1)
Sequence Code Type Object Library Job Time
59163479 T ZC ROBHQ1 8:49:35
59163510 T ZC ROBHQ1 8:49:39
59165589 T ZC ROBHQ1 8:51:27

Peter Sazbo wrote on 05/08/2007 02:02:45 AM:

How can I investigate when and which user or job held or released a job
queue?

The information you are looking for is in the security audit journal. If
your system is at V5R4 you can use the new CPYAUDJRNE command to copy the
audit information. Once the file has been created use your favorite query
to select and print the fields you are interested in. If you are on an
earlier release you should first use CRTDUPOBJ OBJ(QASYZCJ5) FROMLIB(QSYS)
OBJTYPE(*FILE) TOLIB(QTEMP) to create a physical file in QTEMP and then use
DSPJRN with OUTFILFMT(*TYPE5) to copy the ZC audit records to that file.
The remaining steps to display the data will be the same as for V5R4.

The answer to this specific question can be found in the Access Type field.
The table at the end of Appendix F of the Security Reference manual
indicates that Access Type will be 24 when the job queue is held and 37
when it is released.

Ed Fishel,
edfishel@xxxxxxxxxx



As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.