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



Couple of threads that may be of interest..

http://archive.midrange.com/midrange-l/200905/msg00106.html

http://archive.midrange.com/midrange-l/200905/msg00388.html

Charles

On Fri, Jun 24, 2011 at 5:54 PM, John Allen <jallen@xxxxxxxxxxx> wrote:
I have an Output Queues with 80,000 spooled files (please don't ask why, I
am working on getting them cleaned up) running V5R4



If I execute WRKOUTQ TEST the processing occurs very quickly and the list of
spooled files appears in a few seconds



I have a program that creates a user space then runs the API QUSLSPL to get
the list of spooled files in the Output Queue

and after 20 minutes it is still running.



I first create a user space TSTOQENT with   INITSZ(4000000)



Then

CHGVAR     VAR(&OUTQNMLB) VALUE(&OUTQNM *CAT  '*LIBL     ')

CHGVAR     VAR(&FORMAT) VALUE('SPLF0100')



CALL       PGM(QUSLSPL) PARM('TSTOQENT  QTEMP     ' +

                    &FORMAT   '*ALL'  &OUTQNMLB  '*ALL'   '*ALL'  )



After 20 minutes this is still running.

Am I using the wrong API?

Is there a faster method of getting a list of spooled files in an OUTQ?

I run this same program against a spooled file with a couple of spooled
files and it is very fast



Thanks



John









--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



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.