I have an Output Queues with 80,000 spooled files (please don't ask why, Iof
am working on getting them cleaned up) running V5R4
If I execute WRKOUTQ TEST the processing occurs very quickly and the list
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 Queuelist
and after 20 minutes it is still running.
I first create a user space TSTOQENT with INITSZ(4000000)
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
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives