Key Management

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
baranee_svsp
Participant
Posts: 5
Joined: Tue Nov 29, 2005 1:19 am

Key Management

Post by baranee_svsp »

How to reset the initial values in Routines(Key Management)?
Himani
Premium Member
Premium Member
Posts: 10
Joined: Thu Oct 28, 2004 12:06 am

Post by Himani »

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

You can use this in the before/after subroutine
Regards,
Himani
srinagesh
Participant
Posts: 125
Joined: Mon Jul 25, 2005 7:03 am

Post by srinagesh »

I would recommend using of SEARCH functionality provided, before you post in the forum.

Hope this article helps viewtopic.php?t=92652&highlight=keymgtgetnextvalue
asoka_dwh
Participant
Posts: 11
Joined: Mon Oct 24, 2005 11:37 pm
Contact:

i tried using above command in before Tcl

Post by asoka_dwh »

Himani wrote:UPDATE SDKSequences USING DICT VOC SET F1 = 'New_Value' WHERE @ID = 'Sequence_Name';

You can use this in the before/after subroutine
Regards,
Himani

Hi Himani,


i tried using above command in before Tcl in stage properties, it returns error where from command line in administrator we can do and get exact result

regards
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Use this command in the job properties.
Delete from SDKSequences;

and set Before-Job Routine to ExecTCL
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

You want to delete ALL sequences from SDKSequences?!!!
Probably not.
Add a WHERE clause to the DELETE.
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