reading a output queue

420 pts.
Tags:
AS/400
Output Queues
RPG ILE
RPGLE
Spool file 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

Thanks. We'll let you know when a new response is added.

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

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following