|
The Open List of Jobs (QGYOLJOB) API might meet your needs. It provides selection based on subsystem and returns in the List information structure the number of Total records which should correspond to the number of jobs (so you don't need to actually process the list) when the List status indicator is '2'. The API is in the Work Management category of system APIs. Bruce |---------+------------------------------------------------> | | "Mike Silvers" <msilvers@xxxxxxxxxxx>| | | Sent by: | | | rpg400-l-bounces+bvining=us.ibm.com@x| | | idrange.com | | | | | | | | | 04/08/2003 10:26 AM | | | Please respond to RPG programming on | | | the AS400 / iSeries | | | | |---------+------------------------------------------------> >-------------------------------------------------------------------------------------------| | | | To: <rpg400-l@xxxxxxxxxxxx> | | cc: | | Subject: Determining jobs running in a subsystem... | | | >-------------------------------------------------------------------------------------------| All, I need a quick, down & dirty way to determine the number of jobs running in a specific subsystem, then displaying the information on the screen. I was looking at calling a command from the RPG program, sending the output to a spooled file & processing it, but I did not want to have to process a spooled file in that way. Anyone else have any ideas and/or examples? Thanks Mike ======================================= Mike Silvers Senior Programmer/Analyst IBM Certified Expert Hainey Business Systems Main Office: (717) 718-9601 ext 237 Branch Office: (410) 397-8739 http://www.hbs-inc.com AIM: IBMJavaMan ======================================= _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
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.