Kbase P117988: CURRENT-VALUE not using correctly the database alias
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  8/14/2006 |
|
Status: Unverified
FACT(s) (Environment):
OpenEdge 10.x
SYMPTOM(s):
CURRENT-VALUE not using correctly the database alias
Only retries sequence value for the first database for which the alias was created
CREATE ALIAS sports FOR DATABASE sp.
RUN showVal.p. /* MESSAGE CURRENT-VALUE( seq_my, sports ). */
CREATE ALIAS sports FOR DATABASE sp2.
RUN showVal.p. /* MESSAGE CURRENT-VALUE( seq_my, sports ). */
FIX:
Upgrade to OpenEdge 10.x and use dynamic sequence access functions like DYNAMIC-CURRENT-VALUE and DYNAMIC-NEXT-VALUE.