Reset KeyGenarateNextValue

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
deva
Participant
Posts: 104
Joined: Fri Dec 29, 2006 1:54 pm

Reset KeyGenarateNextValue

Post by deva »

Hi I am using Data stage 7.5 v, I am trying to create auto numbers in two files. It works fine in 7.1 v.

We are recently upgrade to 7.5v , it is giving error, How to rest the KeyMgtGetNextValueConcurrent.

Befour stage sub routine I given Exicute TCL , and I spacify the command as

UPDATE SDKSequences USING DICT VOC SET F1 = '1' WHERE @ID = '1';

but I am getting the error like

Create_ExternalReference_Ass..Transformer_134 (ExecTCL): Error when executing command: UPDATE SDKSequences USING DICT VOC SET F1 = '1' WHERE @ID = '1';
*** Output from UniVerse command was: ***
DataStage/SQL: Table "SDKSequences" does not exist.

Can any one suggest how to solve this problem.

Thanks in advance

deva
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

This simply means that SDKSequences does not exist, because none of the key management routines has been executed in the new project. You could test any of these routines, or execute the following command.

Code: Select all

CREATE.FILE SDKSequences 2 1 4
or, if you prefer

Code: Select all

CREATE TABLE "SDKSequences" (TYPE 2, MODULO 1, SEPARATION 4, SEQNAME VARCHAR(254) NOT NULL PRIMARY KEY, NEXTVAL INTEGER DEFAULT 0);
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply