× 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.



AFAIK, it's only when the file goes to ready status. If you put it on hold and then release it again, another entry is sent to the data queue.

Here's a link to using data queues in printing. Note the description of using a data queue with environment variables. This looks like it may do what you want, but I've never had occasion to use this technique before. Maybe someone else can provide some expertise.

http://publib.boulder.ibm.com/iseries/v5r2/ic2924/books/c415713509.htm#IDX2737




Phil Kestenbaum wrote:
Good idea Wayne, When you say ready status, what about HOLD status,
currently this job puts the spool on Hold bec. Of forms changes.

Thanks,
Phil

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Wayne McAlpine
Sent: Friday, December 08, 2006 9:21 AM
To: rpg400-l@xxxxxxxxxxxx
Subject: Re: Program needed to monitor an outq

Take a look at specifying a data queue for the output queue. The data queue will receive an entry whenever a spool file goes into ready status

on the output queue.  All the information about the spool file is passed

to the data queue.  You can then either have a never-ending batch job to

receive the data queue entries, or you can have the job wake up at 1600 and receive and process all of the entries.

Phil Kestenbaum wrote:
HI I have a need to monitor a particular outq, for a particular
form-type. I would like to be alerted when such a form type has
entered
this outq, and possibly as well, based on time of day, i.e. if he
hasn't
printed by 16:00 alert a few people. This way, I will know if the
operator has printed said spool files or not.

I am thinking of ways to do this either using RPG, I am assuming this
is
a bit much for CL but perhaps I am wrong,.. or preferably an approach
based on  Operations Navigator and running in Windows and alerting via
the desktop. The alert could be via email of course but another
delivery
method is fine.

Perhaps someone has already developed such a program and could share
their approach or comments as to how you would do this.

Thanks,

Phil


This message contains information proprietary to our company. It is
intended to be read only by the individual or entity named above or
their designee.
Any distribution of this message or the information contained herein
without written permission from our company is strictly prohibited. If
the reader of this message is not the intended recipient or an agent
responsible for delivering it to the intended recipient, you are hereby
notified that you have received this document in error and that any
review, dissemination, distribution, or copying of this message is
strictly prohibited. If you have received this communication in error,
please notify us immediately by e-mail, and delete the original message.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.