Search found 180 matches

by rafidwh
Wed Apr 16, 2014 5:38 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Abort job when exceeding limit on a Surrogate Key value
Replies: 1
Views: 1667

Abort job when exceeding limit on a Surrogate Key value

How to terminate a job if the Surrogate Key value reaches the max value be it signed/unsigned 32/64 bit while processing a single dataset.

Thanks !
by rafidwh
Thu Jan 28, 2010 3:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to implement the following logic
Replies: 5
Views: 3487

Also to let you know, for every record there will be a key generated which will be a primary key on table. And we have 4 composite keys to identify unique record.

And you cannot reload the same record again else it will abort due to uniqe constraint.

Not sure how your straight forward logic works.
by rafidwh
Thu Jan 28, 2010 3:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to implement the following logic
Replies: 5
Views: 3487

Hi Arndw,

Thanks for you promt response.

You mean to say that the design is direct extract and update.

What if your job aborts after 10 milliion, will you agan reload the data from row 1?
by rafidwh
Thu Jan 28, 2010 1:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to implement the following logic
Replies: 5
Views: 3487

how to implement the following logic

Hi All, Given below is the logic that need to implement Step1: Extract data from table x In where clause (load_ind = 'N') Step2 : Load to another table Y Step3 : Commit for every 50K Step4 : Update the load_ind = 'Y" Then continue with step1 which goes in loop. We need step 4 for the restarabil...
by rafidwh
Sun Jan 10, 2010 10:54 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Join logic
Replies: 5
Views: 3722

Hi,

Any idea team.
by rafidwh
Sun Jan 10, 2010 12:06 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Join logic
Replies: 5
Views: 3722

Ray,

Sorry for posting on server forum. Its a parallel job.

Thanks!
by rafidwh
Sat Jan 09, 2010 12:59 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Join logic
Replies: 5
Views: 3722

Join logic

Hi All, Need help in implementing the following logic I have three files as shown in the below given format File1 ID IND 1 Y File2 ID IND 1 Y 1 X 1 A 1 X File3 ID IND 1 Y 1 Z All the above 3 files are the reference files and the input file or the main file will look like Main File ID IND1 IND2 IND3 ...
by rafidwh
Mon Dec 14, 2009 9:53 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to find the most dominant valuex
Replies: 7
Views: 4250

Hi Ray,

I am bit confused on how to use aggregator if I want to use the third dominant also apart from first and second dominant value.
by rafidwh
Mon Dec 14, 2009 12:54 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to find the most dominant valuex
Replies: 7
Views: 4250

The first point ie the aggregator is bit confusing, how can i get count on DT within group ID
by rafidwh
Mon Dec 14, 2009 12:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to find the most dominant valuex
Replies: 7
Views: 4250

Is there a way to check without using a trnasformer stage.
by rafidwh
Sun Dec 13, 2009 9:54 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to find the most dominant valuex
Replies: 7
Views: 4250

How to find the most dominant valuex

Hi All, I have the data as shown below and I need to pull the most dominant value, pl give me the best logic applicable ID DT 1 X 1 X 1 Y 1 Y 1 Y 1 Z There are two fields primary and secondary and my data should look like ID DT Primary Secondary 1 X Y X 1 Y Y X 1 Z Y X Here Y is the most domianant a...
by rafidwh
Wed Sep 09, 2009 9:51 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Delete the duplicates from Database
Replies: 8
Views: 4591

Hi Creg,

The records need to be deleted and thats the requirement and we don't want to have a table exclusively to remove the dups.

If there are any more options to do this task would help greatly.
by rafidwh
Tue Sep 08, 2009 11:15 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Delete the duplicates from Database
Replies: 8
Views: 4591

Delete the duplicates from Database

Hi All,

I have to create a one time job that has to identfy duplicate records based on 20 fields and delete the latest record (can be identified based on DATE1). There are millions of duplicate records in the table.

Please suggest the approach to resolve the issue.
by rafidwh
Tue Mar 18, 2008 4:06 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Run the Extract in loop
Replies: 6
Views: 3114

HI Ray, thiis what i suppose to do first extract query select c1, c2, c3 ... from x WHERE x.ID > 0 AND x.ID <= 10000000 second and so on select c1, c2, c3 ... from x WHERE x.ID > 10000000 AND x.ID <= 20000000 select c1, c2, c3 ... from x WHERE x.ID > 20000000 AND x.ID <= 30000000 select c1, c2, c3 ....
by rafidwh
Tue Mar 18, 2008 11:04 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Run the Extract in loop
Replies: 6
Views: 3114

The where clause is in sql. we need to extract within the range ids and I know the starting and end id. why I am doing the multiple extracts is , if iam using the complete id range then it will take huge amount of time, so i want to split and want to extract in ranges ie to run in loop and pass the ...