|
That is the default max size, the default initial size is 16 entries. The
queue will automatically grow up to 16MB without you doing anything but
placing entries on the queue, but it will get very slow if you go too far
beyond those initial 16 entries. It is best to set the initial size of the
queue more in line with your typical traffic, and you can also set
AUTORCL(*YES) to have the queue reset to it's original size when it gets
down to zero entries. Otherwise the Queue could get big and never give up
it's storage.
Mark Murphy
STAR BASE Consulting, Inc.
mmurphy@xxxxxxxxxxxxxxx
-----Erick Garske <egarske@xxxxxxxxxxxx> wrote: -----
To: "rpg400-l@xxxxxxxxxxxx" <rpg400-l@xxxxxxxxxxxx>
From: Erick Garske <egarske@xxxxxxxxxxxx>
Date: 07/21/2015 02:45PM
Subject: API to automatically extend data queue
When using the command CRTDTAQ the default size of the is 16 meg. I
thought that there was an API that could be used to automatically extend
the size of a data queue should the queue need more than the initial size
so that it could dynamically grow. Is this true?
Is QMHQCDQ the API that should be used to do so?
Thanks,
Erick
--
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.
--
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 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.