We are having issues with record locks on a BPCS table that stores the
last value for an order number, so we are attempting to use a sequence
with an increment of 1 instead. We have been able to create the
sequence and it works fine when calling it from a SQL prompt. (e.g.
Select Next Value for BPCS_ORDER_NUMBER from SYSIBM.SYSDUMMY1) However,
when called via RPG with an embedded SQL statement of the same syntax,
it always increments by 2. Anyone run across this type of issue before?
We are on V5R4.

Thanks,

Jim Reinardy
Badger Meter, Inc.

As an Amazon Associate we earn from qualifying purchases.

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