|
You will have an entry in the dataQueue only if the spool is ready to print. Say you have a saved spool, if you realease it a new entry is send. If the spool is holded : no entry :( In this cas you can run a PGM that make the list of spool of one OUTQ. (with spool API) ----- Original Message ----- From: "Phil Kestenbaum" <pkestenbaum@xxxxxxxxxxx> To: "RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx> Sent: Friday, December 08, 2006 3:48 PM Subject: RE: Program needed to monitor an outq
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 hasenteredthis outq, and possibly as well, based on time of day, i.e. if hehasn'tprinted 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 thisisa 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 anotherdeliverymethod 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 isintended to be read only by the individual or entity named above or their designee.Any distribution of this message or the information contained hereinwithout 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.-- This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l. -- This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
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.