Though not as direct as a query or DSPPFM, the Retrieve Message (QMHRTVM)
API, documented at
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/apis/QMHRTVM.htm,
allows you to retrieve the message text of the *First message of a *MSGF and
then retrieve the *Next message and so on. Scanning the message text of the
retrieved message description could then be done using whatever programming
language you'r familiar with.

Vendor response -- My book, APIs at Work 2nd Edition, provides programs in
RPG and COBOL which provides this type of word scan. In the sample programs
I also use another API to monocase the first level text (and search
argument) so that case differences are ignored in the returned result. I
seem to recall this chapter was published on the net some years ago by MC
Press, but I can't find it offhand.

Bruce Vining
On Sat, Sep 25, 2010 at 12:07 PM, Don Cavaiani <dcavaiani@xxxxxxxxxxxxx>wrote:

Is there any way to do something like a WRKQRY or a DSPPFM against a
large Message File ?
--
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.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.