You can use the QUSLSPL api to quickly get the number of spooled files
in an outq... 


Thanks,
Tommy Holden


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Wes Reinhold
Sent: Thursday, September 28, 2006 8:23 AM
To: Midrange Systems Technical Discussion
Subject: RE: Monitoring an output queue

Count the number of spool files in the queue.  If it passes a certain
number, send emails internal and external.  Put it in the scheduler and
run it every x minutes.  We do this all the time. 

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of rob@xxxxxxxxx
Sent: Thursday, September 28, 2006 9:13 AM
To: Midrange Systems Technical Discussion
Subject: Re: Monitoring an output queue

Really not sure if that will help me if the printer is out of paper.

Rob Berendt
--
Group Dekko Services, LLC
Dept 01.073
PO Box 2000
Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





"Albert York" <albertyork@xxxxxxxxx> 
Sent by: midrange-l-bounces@xxxxxxxxxxxx
09/27/2006 05:08 PM
Please respond to
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>


To
"Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
cc

Subject
Re: Monitoring an output queue






Your monitor program could PING the printer to see if it is still
active.

Albert

  ----- Original Message -----
  From: rob@xxxxxxxxx
  To: midrange-l@xxxxxxxxxxxx
  Subject: Monitoring an output queue
  Date: Wed, 27 Sep 2006 13:29:22 -0400


  We are using some monitoring software. I have a problem monitoring
  remote
  output queues. When I turn off the printer on a -REMOTE- output queue
  and
  send it a spool file it doesn't go into a MSGW or anything. Like this
  remote output queue P01A08.
  WRKSBSJOB QSPL
  Job User Type -----Status-----
  PVCBAR1 QSPLJOB WTR ACTIVE
  P01A01 QSPLJOB WTR ACTIVE
  P01A01T QSPLJOB WTR ACTIVE
  P01A02 QSPLJOB WTR ACTIVE
  P01A06 QSPLJOB WTR ACTIVE
  P01A07 QSPLJOB WTR ACTIVE
  P01A08 QSPLJOB WTR ACTIVE

  WRKWTR *ALL
  Writer Type Device Queue Library Status Form Type
  P01A08 RMT P01A08 QUSRSYS STR *ALL
  Notice, no MSGW?

  And the spool file itself will look like:
  Device or Total Current
  File Queue User Data Status Pages Page Copies
  QSYSPRT P01A08 SND 1 1

  About all I could think of was to monitor for any spool file in a SND
  status for an inordinate amount of time. Or, x number of spool files
  in
  RDY state in that output queue. Any other suggestions? (Now if I
  could
  only get our monitoring software to handle one of those.)

  Rob Berendt
  --
  Group Dekko Services, LLC
  Dept 01.073
  PO Box 2000
  Dock 108
  6928N 400E
  Kendallville, IN 46755
  http://www.dekko.com

  --
  This is the Midrange Systems Technical Discussion (MIDRANGE-L)
  mailing list
  To post a message email: MIDRANGE-L@xxxxxxxxxxxx
  To subscribe, unsubscribe, or change list options,
  visit: http://lists.midrange.com/mailman/listinfo/midrange-l
  or email: MIDRANGE-L-request@xxxxxxxxxxxx
  Before posting, please take a moment to review the archives
  at http://archive.midrange.com/midrange-l.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

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.