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



There are some things not so sensitive to gaps (my main concern). Client
numbers, part numbers, etc. Having a SEQUENCE object is an easy way to make
sure the number does not get duplicated. A common problem with
user-maintained and designed sequence files is that, in some cases, a
program could "Read, Increment, Update" the file and then use the number
while other program could read, use the number, increment and update.

Regards,

Luis Rodriguez
IBM Certified Systems Expert — eServer i5 iSeries



On Wed, Nov 25, 2009 at 3:50 PM, David Gibbs <david@xxxxxxxxxxxx> wrote:
On 11/25/2009 2:09 PM, Luis Rodriguez wrote:
As per the business cases that David comments, I suppose that this
(the sequence object) could be seen as just another tool that SQL
provides. Myself, am a little uneasy about the storing of the data in
a *DTAARA (something that sometimes gets overlooked when restoring or
saving). Also, the fact that I can't get a guarantee of the sequence
can give some problems (think, for example, invoice numbers).

I'm not so concerned about the backup / restore issues ... as I always
recommend backing up the entire data library at once.

The non-sequential nature of a cached sequence makes me wonder what kind
of application it could be used for.

david

--
IBM i on Power Systems - For when you can't afford to be out of business
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



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.