Hi, Albert:

I don't have an AS/400 in front of me, but can't you do the following????
   CRTDUPOBJ ORIGDQ LIBNAME *DTAQ *N TEMPDQ
   DLTDTAQ LIBNAME/ORIGDQ
   RNMOBJ LIBNAME/TEMPDQ *DTAQ ORIGDQ

That *should* do what you want, since queues are not copied on CRTDUPOBJ.
At least on paper or terminals it looks good.  :^)

Dennis

(Embedded image moved to file: pic08283.pcx)
"York, Albert" <albert.york@nissan-usa.com> (Mailed by: "York, Albert"
<albert.york@nissan-usa.com>)
03/04/99 11:00 PM GMT
Please respond to MIDRANGE-L@midrange.com

To:   "'MIDRANGE-L@midrange.com'" <MIDRANGE-L@midrange.com>
cc:    (bcc: Dennis E. Lovelady)
Subject:  Rebuilding data queues




Doe anyone know of a way to automatically delete and recreate a data queue?
We have data queues that sometimes get pretty large. Clearing them doesn't
reduce their size, they have to be recreated.

RTVOBJD doesn't return the data queue type or size.


                                  n n n n

pic08283.pcx


This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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].