• Subject: Re: Data Queues
  • From: "Larry D. Bolhuis" <lbolhui@xxxxxxx>
  • Date: Wed, 09 Dec 1998 22:06:02 -0500
  • Organization: Arbor Solutions, Inc

You guys need to 'school up' on data queues! (And I'm sure that's why you 
asked!)

Use the QMHRDQM API.  This little gem will read  a dtaq non-destructively.  It 
will also read just
the first, last, or ALL entries from the queue.

Check out the OS/400 Object APIs reference.  There's a bunch of new DataQ APIs 
documented there.

-- 
Larry Bolhuis         |
Arbor Solutions, Inc  | Two rules to success in life:
(616) 451-2500        | 1. Never tell people everything you know.
lbolhui@ibm.net       |

RAJEEV ASTHANA wrote:
> 
> Hi Nick,
> 
> I don't see any way of copying a data queue to another.
> Moreover, if read one data queue through  QRCVDTAQ , store it and then
> send to another data queue by QSNDDTAQ, contents of earlier data queue
> will be lost. So , in this case you are left with only one "content".
> You can, though, send same data to both the data queues and then operate
> them as you need.
> 
> Thanks,
> 
> Rajeev Asthana.
> 
> From: "Nick Mart" <nick.mart@kingland.com>
> To: "midrange mailing list" <MIDRANGE-L@midrange.com>
> Subject: Data Queues
> Date: Wed, 9 Dec 1998 16:19:44 -0600
> Reply-To: MIDRANGE-L@midrange.com
> 
> 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
+---


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.