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



This might help a bit .... you may have to tweak it a bit by displaying only the fields needed and sort order.
There's also examples in ACS Run SQL Scripts under "edit, examples"

---Option 1
-- SELECT JOB_NAME FROM TABLE(QSYS2.ACTIVE_JOB_INFO(SUBSYSTEM_LIST_FILTER => 'MONITOR')) A

--- Option 2
--- SELECT * FROM TABLE(QSYS2.ACTIVE_JOB_INFO(SUBSYSTEM_LIST_FILTER => 'QHTTPSVR')) A

--- Option 3
SELECT * FROM TABLE(QSYS2.ACTIVE_JOB_INFO(SUBSYSTEM_LIST_FILTER => '')) A

--- Another option for specific jobs.
-- Looking at only QZDASOINIT jobs, find the top 10 consumers of Elapsed I/O.
-- SELECT JOB_NAME, AUTHORIZATION_NAME, ELAPSED_TOTAL_DISK_IO_COUNT, ELAPSED_CPU_PERCENTAGE
-- FROM TABLE(QSYS2.ACTIVE_JOB_INFO(JOB_NAME_FILTER => 'QZDASOINIT',
-- SUBSYSTEM_LIST_FILTER => 'QUSRWRK')) X
-- ORDER BY ELAPSED_TOTAL_DISK_IO_COUNT DESC
-- ORDER BY AUTHORIZATION_NAME
-- FETCH FIRST 10 ROWS ONLY;


Very Respectfully,
Michael Mayer
IBM i on Power System Admin.
IT Operations.
The Florida Bar
651 E. Jefferson St
Tallahassee, Florida 32399-2300
mmayer@xxxxxxxxxxxxxx
https://www.floridabar.org
Office: 850.561.5761
Cell: 518.641.8906
IBM i Reference blog page: http://ibmireference.blogspot.com/



1. CMD to tell when there are no jobs in a subsystem (Jerry Draper)


----------------------------------------------------------------------

message: 1
date: Mon, 5 Dec 2022 11:02:46 -0800
from: Jerry Draper <midrangel@xxxxxxxxxxxxx>
subject: CMD to tell when there are no jobs in a subsystem

I need to know when there are no jobs in a specific subsytem.


Jerry

--
Jerry Draper, Trilobyte Software Systems, since 1976 IBM I, Network, and Connectivity Specialists, LAN/WAN/VPN Representing WinTronix, Synapse, HiT, and others .....
(415) 457-3431 .www.trilosoft.com


------------------------------


________________________________
Please note: Florida has very broad public records laws. Many written communications to or from The Florida Bar regarding Bar business may be considered public records, which must be made available to anyone upon request. Your e-mail communications may therefore be subject to public disclosure.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.