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



Why not using the IBM Service - Message_File_Data for searching through any message file?

Select *
From Table(QSYS2.Message_File_Data(Message_File_Library => 'QSYS',
Message_File => 'QCPFMSG'));
Where Message_Text like '%....%'
or Message_Second_Level_Text like '%....%';


Mit freundlichen Grüßen / Best regards

Birgitta Hauser


"Shoot for the moon, even if you miss, you'll land among the stars." (Les Brown)
"If you think education is expensive, try ignorance." (Derek Bok)
"What is worse than training your staff and losing them? Not training them and keeping them!"
„Train people well enough so they can leave, treat them well enough so they don't want to.“ (Richard Branson)


-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Rob Berendt
Sent: Freitag, 10. September 2021 13:35
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: RE: Hint for finding a message ID in QCPFMSG

I used to use the scnmsgf utility but the sql service to scan the text is much better. It also has the capability to scan every message file on your system. No longer do you have to guess if that rpg message is in which one of these QRNXMSG QRPGMSGE QRPG3MSGE

I realize the OP is a hobbyist using obsolete equipment, and that is his choice. I thought about that too but it would just slay me not to have the latest OS version.

Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1 Group Dekko Dept 1600 Mail to: 7310 Innovation Blvd, Suite 104
Ft. Wayne, IN 46818
Ship to: 7310 Innovation Blvd, Dock 9C
Ft. Wayne, IN 46818
http://www.dekko.com


-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Carel via MIDRANGE-L
Sent: Thursday, September 9, 2021 6:12 PM
To: midrange-l@xxxxxxxxxxxxxxxxxx
Cc: Carel <coteijgeler@xxxxxxxxx>
Subject: Re: Hint for finding a message ID in QCPFMSG

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.


Or use Bradley Stone's SCNMSGF utility.


Op 9-9-2021 om 23:28 schreef Vern Hamberg:
Barbara's suggestion might be the best - CPF9898, well, when everyone
uses that, it is impossible, easily, to know which of them matters.

If you want a tool to look for messages, I have a couple ideas.

1. Get iSphere and use its message file search tool in RDi - wonderful
tool!
2. DSPMSGD QCPFMSG for all messages and output to *PRINT - I think
there is a "level" parameter - you might not need second level. Then
open the SPLF and search away.

To answer your first question, there ARE groupings - I don't think any
are publicly documented - if you take that SPLF, you can roll through
it and see some of them, I believe.

Roll your own!!

Vern

On 9/9/2021 3:36 PM, Chris Pando wrote:
CPF9898?

On Thu, Sep 9, 2021, 3:27 PM Patrik Schindler <poc@xxxxxxxxxx> wrote:

Hello,

QCPFMSG has a considerable amount of messages. Finding something to
use in
my own programs is more annoying than finding a needle in a
haystack. With
the needle, I can use a magnet which might help a bit…

Is there any particular grouping of messages (similar IDs) documented
somewhere?

At the moment, I'm searching for a message to properly output
%status back
to the user in IBM fashion. ;-) Any hints which to use?

Thanks!

:wq! PoC

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com



--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com

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.