× 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 QSPL there are some indexes.
You can query the number of entries with Materialize Index.

Giuseppe.

----- Original Message -----
From: "Paul Jackson" <paulgjackson@yahoo.com>
To: <MI400@midrange.com>
Sent: Wednesday, November 20, 2002 11:00 PM
Subject: [MI400] Easy way to get total number of spooled file on system?


> Hello,
>
> anyone know of a quick way to get the total number of
> spooled files on a system?
>
> I currently have a method that uses the QUSLOBJ API to
> list all the outq's and then for each outq a call to
> QSPROUTQ to get the number of spooled files per outq
> and totalling. It can be rather slow and a performance
> hit on a busy system though.
>
> Apparantly if you go into system service tools you can
> also see the number.
>
> It would be nice to be able to directly retrieve this
> system number rather than having to list all outqs.
>
> I did not see an API that does this so I thought maybe
> the MI guys would know a way.
>
> Any ideas?
>
> Thanks!
> -Paul
>
>
> =====
> Help prevent pet overpopulation. Please spay & neuter your pets.
> http://www.doghause.com/neuter.html
> http://www.fixcats.com
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Web Hosting - Let the expert host your site
> http://webhosting.yahoo.com
> _______________________________________________
> This is the MI Programming on the AS400 / iSeries (MI400) mailing list
> To post a message email: MI400@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/mi400
> or email: MI400-request@midrange.com
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/mi400.
>
>



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.