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

-----Original Message-----
From: frank kolmann [mailto:fkolmann@xxxxxxxxx]
Sent: Monday, February 03, 2014 3:49 AM
To: rpg400-l@xxxxxxxxxxxx
Subject: Question about using QMHRCVM and QMHRMVM Apis
(QGYOLMSG API alternative

Hi John

I posted this to midrange some time ago.
http://archive.midrange.com/rpg400-l/201301/msg00197.html
It uses QGYOLMSG API and so far it has worked ok.

There is a field in LSTM0100 that has a Message type, not
sure maybe it can help.

Regards
Frank Kolmann

From: "John Allen" <jallen@xxxxxxxxxxx>
To: "'RPG programming on the IBM i \(AS/400 and iSeries\)'"
<
rpg400-l@xxxxxxxxxxxx>
Cc:
Date: Tue, 28 Jan 2014 09:22:02 -0500
Subject: RE: Question about using QMHRCVM and QMHRMVM Apis
Sorry about
the delay in responding, I have been out of the office.

This sounds like it will work. I will try it and see.

Thanks for the reply

John

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of CRPence
Sent: Friday, January 17, 2014 7:17 AM
To: rpg400-l@xxxxxxxxxxxx
Subject: Re: Question about using QMHRCVM and QMHRMVM Apis

On 16-Jan-2014 05:30 -0800, John Allen wrote:
I am using QMHRCVM API to read through a message Queue,
this works
fine

I am also using QMHRMVM to remove some of the messages
this works
fine except...

I want to make sure I do not attempt to remove an Inquiry
message
that is waiting for a response.

I receive the message type from QMHRCVM but I do not see
any type of
Message Status field in the QMHRCVM API results.

How can I make sure I do not attempt to remove a message
that is
awaiting a response.

There is no specific messages I am trying to remove or
skip. I just
need to be able to read all messages in a message queue
and skip
those waiting a response
--
This is the RPG programming on the IBM i (AS/400 and
iSeries) (RPG400-L) mailing list To post a message email:
RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change
list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-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.