|
I believe QUSLSPL is capable of asynchronous processing. Give it asmaller
work area (can be a user space, but limit the amount of space you tellmore.
the API to use. It will return to you quickly (from my experience),
with an indication that there's more data. As you consume it, ask for
wait until you have the whole purchase price before you put an offerthe
on
house!I
Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
Computers are not intelligent. They only think they are.
I have an Output Queues with 80,000 spooled files (please don't ask
why,
listam working on getting them cleaned up) running V5R4
If I execute WRKOUTQ TEST the processing occurs very quickly and the
of
spooled files appears in a few secondsget
I have a program that creates a user space then runs the API QUSLSPL
to
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
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.