420 pts.
 reading a output queue
i want to read a output queue which contains spool files .so how could i read it through a rpgle program .actually i want to read a output queue and get the list of distinct spool files and also want the count of  spool files with the same name.

Software/Hardware used:
as400
ASKED: May 6, 2010  6:40 AM
UPDATED: May 6, 2010  1:30 PM

Answer Wiki:
The <a href="http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/apis/QUSLSPL.htm">List Spooled Files (QUSLSPL) API</a> will list spooled files on a given output queue into a user space. You can then read the list and process the entries any way you wish. Tom
Last Wiki Answer Submitted:  May 6, 2010  8:16 am  by  TomLiotta   107,765 pts.
All Answer Wiki Contributors:  TomLiotta   107,765 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _