David,

I am part of the iSphere development team and the idea is to create a data queue viewer such as the DSPDTAQ command from Craig Rutledge.

For that I need to read the entries of a given data queue without removing them from the queue. As far as I can see, the data queue classes do not support that. peek() just reads the next entry that is eligible for read(). But it does not support reading a whole bunch of entries nor spinning through all entries.

Am I missing something?

Regards,

Thomas.

-----Ursprüngliche Nachricht-----
Von: JAVA400-L [mailto:java400-l-bounces@xxxxxxxxxxxx] Im Auftrag von David Gibbs
Gesendet: Montag, 1. Dezember 2014 14:36
An: Java Programming on and around the IBM i
Betreff: Re: PCML how to properly call the QMHRDQM API

On 11/29/2014 2:30 PM, Thomas Raddatz wrote:
I wonder whether or not someone could help me with the PCML of the
Retrieve Data Queue Message (QMHRDQM) API.

Why not just use the data queue classes?

http://javadoc.midrange.com/jtopen/com/ibm/as400/access/BaseDataQueue.html

david


--
IBM i on Power Systems: For when you can't afford to be out of business!

I'm riding a metric century (100 km / 62 miles) in the 2015 American Diabetes Association's Tour de Cure to raise money for diabetes research, education, advocacy, and awareness. You can make a tax deductible donation to my ride by visiting http://email.diabetessucks.net. My goal is $5500 but any amount is appreciated.

See where I get my donations from ... visit http://email.diabetessucks.net/mapdonations.php for an interactive map (it's a geeky thing).
--
This is the Java Programming on and around the IBM i (JAVA400-L) mailing list To post a message email: JAVA400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/java400-l.


--
IMPORTANT NOTICE:
This email is confidential, may be legally privileged, and is for the
intended recipient only. Access, disclosure, copying, distribution, or
reliance on any of it by anyone else is prohibited and may be a criminal
offence. Please delete if obtained in error and email confirmation to the sender.

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