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



Are you accounting for the fact that another program (called 'QCMDEXC') is
in-between the message sender and receiver?  I know QCMDEXC will propigate
escape messages to it's caller, but I don't know about *COMP.

In fact, I don't know if I've EVER tried to receive a *COMP message.
Maybe I have and I just can't remember it.  (that happens!)

Have you trying monkeying with which call stack entry you're sending to?
All you say is "it's the right one".

If all else fails, there's an API that you can use to get the data out of
the job log.  That's often the only solution.


On Wed, 29 Sep 2004 michael@xxxxxxxxxxxxxxxxxx wrote:

> I *think* the reason I don't like message processing is because I'm
> stoopid. Here's my deal...PGMA calls PGMB. PGMB does a bunch of stuff,
> but eventually sends a message to PGMA. PGMA is RPG, PGMB is a command
> called by QCMDEXC. If I display the message details of the message I
> want to receive (viewed through my job log), it has the correct from
> program and to program. I want to use the QMHRCVPM (Receive Program
> Message) API to get that message, parse it, and do something based on
> the contents. When I make the call to QMHRCVPM, it executes but returns
> nothing. I'm using *ANY for the message type (tried *COMP but that
> didn't work), *EXT for the call stack entry (tried * but that didn't
> work).
>
> Please...tell me what I'm doing wrong. All I can offer is the ability to
> feel smarter than me. Not much, but it's better than a sharp stick in
> the eye.

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.