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



You could also try this:
http://systeminetwork.com/article/utility-cleans-unwanted-job-log-messages

On Thu, Jun 24, 2010 at 2:09 PM, Kurt Anderson <kurt.anderson@xxxxxxxxxxxxxx
wrote:

I created a service program called $RemoveProcedureJobLogEntries().
It will attempt to remove all messages generated by the calling procedure
using the QMHRMVPM API by using the *ALL remove code. Unfortunately, this
isn't capturing the "SENDER COPY." I understand why it's not - in looking
at the job log, all of the other messages are TO the Module & Procedure
(which I have specified in the API call), but SENDER COPY does not have this
information.

So I'm left wondering, how can I remove this message as well? Ultimately,
I'm happy with what the API does for me already, but it would be nice to
remove this message as well.

Full information about the message I want to remove:
CPF5026 Sender copy 30 06/24/10 10:37:31.651168 QDBSIGEX
QSYS 01EA QDBSIGEX QSYS 01EA
Message . . . . : Duplicate key not
allowed for member EQNFMTPP.
Cause . . . . . : An output or update
operation on member EQNFMTPP failed
because of a duplicate key in member
EQNFMTPP file EQNFMTPP in library
KJA9LIB. Recovery . . . : See
previously listed message CPF5009 to
identify the record with the
duplicate key. Then change the key value so
that each key is unique and try your
request again. Possible choices for
replying to message . . . . . . . . .
. . . . . . : C -- The request is
canceled. I -- The request is
ignored.

And for the record, this error is handled by the program, so I don't want
the job log to be potentially bogged down by it (there are other things in
the job log we'd rather see w/o having to work our way through this stuff).

Thanks,
Kurt Anderson
Sr. Programmer/Analyst
CustomCall Data Systems
--
This is the RPG programming on the IBM i / System i (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 thread ...

Follow-Ups:
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.