×
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.
I am running this Select statement on a job that could have up to 1000
spool files. Once I read the spool file and copy to a flat file I delete
it. I've been googling trying to figure out why we don't
have QSYS2.OUTPUT_QUEUE_ENTRIES_BASIC. That might help me.
SELECT SPOOLED_FILE_NAME, USER_NAME, FILE_NUMBER
FROM TABLE(QSYS2.OUTPUT_QUEUE_ENTRIES('*LIBL',:wkPrinter ,'*NO'
where job_name = :qJobName;
The job is running slow, and I see that the SQL statement is slow. Open
files shows number of reads over 140K?
Member/ Record File I/O ----Open---
Relative
File Library Device Format Type Count Opt Shr-Nbr
Record
QASPOUTQ QSPL QASPOUTQ OUTQSPLFS LGL 140379 I NO
651455
If I run it interactively I see this in the status line
Query running. 0 records selected, 106310 processed.
Is this normal?
As an Amazon Associate we earn from qualifying purchases.
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.