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



Hi

There is a way to delete any messages you want to. IBM have published an article on doing this, at

     https://www-01.ibm.com/support/docview.wss?uid=nas8N1016727.

If you are on a pretty recent version and up-to-date on PTFs, there is a UDTF to get job log messages - here is a simple example:

     select * from table(qsys2.joblog_info('*')) a

IBM has documentation for this, at 7.2, at this URL:

https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/rzajq/rzajqudfjobloginfo.htm?view=embed

I don't see how you could tell which message to remove, since this information does not have the message key, which CAN be used to directly remove a message.

So the first approach does use message keys, and you then go through them all, as described, and check what the message ID is, or whatever else decide will tell you what should be removed.

Now an RFE to request the message key in the UDTF might be a good thing.

Also, the job log does not necessarily have all the messages that are received by a job - that article talks about that.

HTH
Vern

On 10/4/2018 6:56 AM, gio.cot wrote:
Hi all

I have a RPG that use QMHSNDPM and QMHRMVPM, to menage message in display
file


Suppose that i don't want show same system messages like CPF5020 Subfile
record non found .. how can i do ? before run QMHSNDPM, is it possible to
delete some message from program queue by message code ?

Thanks



---
Questa e-mail è stata controllata per individuare virus con Avast antivirus.
https://www.avast.com/antivirus


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.