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



Well, you can always write an MI program that does a MATQMSG.

Also, I think qusrtool had a DSPDTAQ command.  Probably did a DMPOBJ to a spool 
file and got the messages that way.

And of course, you could call the QMHRDQM api.

Quote from the OS/400 object API book:
The QMHRDQM API allows the retrieval of multiple messages per call. The message 
selection information parameter allows you to have some control over which 
messages are returned. The QMHRDQM API can be used to retrieve the following: 

The first or last message of a data queue 
All messages of a data queue 
Selected messages from a keyed data queue 

The QMHRDQM API is similar in function to the QRCVDTAQ API. However, the 
QRCVDTAQ API removes the received message from the data queue; QMHRDQM API does 
not remove received messages. 

Full text available at: 
http://as400bks.rochester.ibm.com/cgi-bin/bookmgr/bookmgr.cmd/BOOKS/QBJAMQ00!1/1.5



Regards,
Rich

============================================
Rich Duzenbury
http://rich.dyn.ml.org
http://vpsolutions.com
============================================

> -----Original Message-----
> From: owner-midrange-l@midrange.com
> [mailto:owner-midrange-l@midrange.com]On Behalf Of York, Albert
> Sent: Wednesday, December 09, 1998 6:46 PM
> To: 'MIDRANGE-L@midrange.com'
> Subject: RE: Data Queues
> 
> 
> One way I can think of off the top of my head is to use the 
> DMPOBJ command.
> This will send the contents of the data queue to a printer file. 
> 
> > ----------
> > From:       Nick Mart[SMTP:nick.mart@kingland.com]
> > Sent:       Wednesday, December 09, 1998 2:19 PM
> > To:         midrange mailing list
> > Subject:    Data Queues
> > 
> > I am looking for a way to duplicate the contents of a data 
> queue without
> > removing the entries in the existing data queue.
> >  
> > Thanks in advance.
> >  
> > Nick Mart
> > nick.mart@kingland.com    
> > Kingland Systems
> > 
> +---
> | This is the Midrange System Mailing List!
> | To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
> | To unsubscribe from this list send email to 
> MIDRANGE-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator: 
> david@midrange.com
> +---
> 

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.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.