In QSPL there are some indexes.
You can query the number of entries with Materialize Index.


----- Original Message -----
From: "Paul Jackson" <>
To: <>
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.
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Web Hosting - Let the expert host your site
> _______________________________________________
> This is the MI Programming on the AS400 / iSeries (MI400) mailing list
> To post a message email:
> To subscribe, unsubscribe, or change list options,
> visit:
> or email:
> Before posting, please take a moment to review the archives
> at

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by 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].