Search found 96 matches

by ankursaxena.2003
Tue May 15, 2012 3:26 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue with Surrogate Key Generator
Replies: 10
Views: 10995

This is the back-up plan which I have. According to that whenever I want to reset the Surrogate Key file, I delete it and re-create it. And at that time it works fine. But, I am sure there should be some way of updating the Surrogate Key file without deleting. And I checked that I am using the same ...
by ankursaxena.2003
Tue May 15, 2012 3:01 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue with Surrogate Key Generator
Replies: 10
Views: 10995

I have choosen 2 Jobs but I am not going to run Step-1 daily. I will run Step-1 only if there is some issue while loading into table. And yes the Job-1 runs in sequential mode. I am not creating the Surrogate Key file. I am just updating it whenever I want to reset the Surrogate Key. I checked my Jo...
by ankursaxena.2003
Tue May 15, 2012 2:16 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue with Surrogate Key Generator
Replies: 10
Views: 10995

@Rameshrr3 - Let me show you my job structure. Step1: The below structure is in a separate job for resetting the Surrogate Key. Reading from Oracle Table ------------------> Surrogate Key Generator Options in Surrogate Key Generator Input Column Name - XYZ Key Source update Action - Create and Updat...
by ankursaxena.2003
Tue May 15, 2012 2:10 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue with Surrogate Key Generator
Replies: 10
Views: 10995

@Sreewin7 - Thanks for your reply. But, my concern is not about loading into target table. My concern is that I should be able to reset the value in the Surrogate Key file. At the 5th attempt the Surrogate Key reads from 166 instead of starting from 76.
by ankursaxena.2003
Tue May 15, 2012 7:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue with Surrogate Key Generator
Replies: 10
Views: 10995

Ray - Thanks for the reply. State File is not the Primary Problem. The primary problem is that when I run the job 3rd time and it aborted after 50 inserts. So, I went and deleted those 50 records from table. And while trying to reset the Surrogate Key to 76, it doesn't start from 76 instead it start...
by ankursaxena.2003
Mon May 14, 2012 2:09 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue with Surrogate Key Generator
Replies: 10
Views: 10995

Issue with Surrogate Key Generator

Hi, I am facing issue with Surrogate Key Generator Stage. Let me first describe my goal before showing the problem. Goal: Get the Max value from Database and write it to Surrogate Key file. Scenario: When I run it for the first time I should get value 1 in the Surrogate Key file as the table is empt...