You can attach a data queue to an output queue.  Then every time a 
file becomes Ready on the output queue, an entry is sent to the data 
queue.  You can then run a job to monitor that data queue and check 
the page count of each spool file that is sent to the queue.  If the 
count is over 800, then Hold the spool file.  The data being sent to 
the data queue includes all of the parameters you would need to do a 
RTVSPLFA (Retrieve Spool File Attribute).

Fred Gamache
Fgamache@nlvl.com


-----Original Message-----
From:   Gary Feinstein [SMTP:gfeinste@planethollywood.com]
Sent:   Wednesday, October 29, 1997 12:52 PM
To:     MIDRANGE-L@midrange.com
Subject:        Output Queue Monitoring

Does anyone know of a way to monitor the contents of an outq?
Basically, I want the system to HOLD all 800+ page spool files from
automatically printing.

TIA,
Gary Feinstein
AS/400 System Administrator
Planet Hollywood International Inc.
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to 
"MIDRANGE-L@midrange.com".
| To unsubscribe from this list send email to MAJORDOMO@midrange.com
|    and specify 'unsubscribe MIDRANGE-L' in the body of your 
message.
| Questions should be directed to the list owner/operator: 
david@midrange.com
+---


+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@midrange.com".
| To unsubscribe from this list send email to MAJORDOMO@midrange.com
|    and specify 'unsubscribe MIDRANGE-L' in the body of your message.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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].