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



Thanks

The API docs show that as a SEND message API. What I would like to do is retrieve messages. I have an example using QMHLJOBL but that is Job specific. I think I want to use the QGYOLMSG API but I am not sure.

Pete Helgren
Value Added Software, Inc
www.asaap.com
www.opensource4i.com


On 4/12/2011 12:51 PM, Hockchai Lim wrote:
Is this what you looking for?

D QMHSNDM PR ExtPgm('QMHSNDM')
D MsgID 7A const
D QualMsgF 20A const
D MsgTxt 32767A const options(*varsize)
D MsgTxtLen 10I 0 const
D MsgType 10A const
D MsgQueues 20A const dim(50) options(*varsize)
D NumQueues 10I 0 const
D RpyQueue 20A const
D MsgKey 4A
D ErrorCode 8000A options(*varsize)
D CCSID 10I 0 const options(*nopass)


"Pete Helgren"<pete@xxxxxxxxxx> wrote in message
news:mailman.38418.1302632482.2702.rpg400-l@xxxxxxxxxxxx...
I noodled around a bit and downloaded what I thought would be good examples
of an API that would basically do what DSPMSG does but the examples I
stumbled across are retrieving job messages from a specific job.

What API('s) are involved in the DSPMSG command? I am looking for an ILE
RPG example (Free format would be nice) that would basically do what
DSPMSG does with the option to filter on the message queue, message types
and severity. I plan to dump the results into a file (which I know how to
do). I am sure there are tons of examples out there but my Googling
turned up little of value.

TIA,

--
Pete Helgren
Value Added Software, Inc
www.asaap.com
www.opensource4i.com



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.