|
Hi Check, I have a utility (written in CL) that I have plugged into the scheduler, it runs once an hour through the day, that processes the QSYSOPR message queue, deleting unwanted/routine messages by MsgId. Provided the MsgId is always the same, and there are not others with the same MsgId that you want to keep ... CLNMSGQ may be what your after, if you're interested. Kind regards, Jeffrey E. Bull OS400 Software Support Consultant IBM Certified Systems Expert, iSeries Technical Solutions IBM Certified Systems Specialist, AS/400 System Administration * +44 [0] 149 454 9533 swb. +44 [0] 149 454 9400 mbl. +44 [0] 786 750 4961 fax. +44 [0] 149 454 9454 web. http://www.itm-group.co.uk ITM Group Ltd, Latimer Square, White Lion Road, Amersham, Buckinghamshire, HP7 9JQ, United Kingdom -----Original Message----- From: Chuck Lewis [mailto:clewis@xxxxxxxxxx] Sent: 02 March 2004 15:15 To: midrange-l Subject: Is there a way to delete a specific message from QSYSOPR ? Trying again :-) Hi Folks, I have an application that monitors QSYSOPR for a certain condition (the failure of our fax server) and then emails certain folks if there is a problem. This is scheduled through Robot and runs every 15 minutes. Problem is, if it fails during the night, the first email alert is sent and then every 15 minutes it finds the same, unanswered or undeleted, error message on QSYSOPR and sends another one. I did have this checking every 5 minutes and that yielded a TON of emails. We know what the problem is, network congestion and it times out (we are working on this) and the server attempts to reboot and reload itself. This doesn't happen a lot, but I would like to be able to delete the one message since folks that are responsible for this get an email and should act on it during normal hours or will get to it when they get the email in the morning. Thanks ! Chuck _______________________________________________ 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. ________________________________________________________________________ This e-mail has been scanned for all viruses by ITM. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, email marketing@xxxxxxxxxxxxxxx ITM - Managing Communication and Information through technology Company registration number - 3783433 ________________________________________________________________________ DISCLAIMER Any opinions expressed in this email are those of the individual and not necessarily the Company. This email and any files transmitted with it, including replies and forwarded copies (which may contain alterations) subsequently transmitted from the Company, are confidential and solely for the use of the intended recipient. If you are not the intended recipient or the person responsible for delivering to the intended recipient, be advised that you have received this email in error and that any use is strictly prohibited. If you have received this email in error please notify the IT manager by telephone on +44 (0)870 871 2233 or via email to Administrator@xxxxxxxxxxxxxxx, including a copy of this message. Please then delete this email and destroy any copies of it. ________________________________________________________________________This e-mail has been scanned for all viruses by ITM. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, email marketing@xxxxxxxxxxxxxxx ITM - Managing Communication and Information through technology Company registration number - 3783433________________________________________________________________________
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.