You didn't mention that in your original post. As you mentioned you can do it using the Sort stage with Create Key Change Column set to True and capturing the required records downstream.dsusersaj wrote:I need to capture the duplicate rows too. SO I think I should use sort stage with keychange.
Search found 1099 matches
- Tue Aug 03, 2010 10:04 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Pick a particular duplicate record
- Replies: 24
- Views: 9215
- Tue Aug 03, 2010 9:44 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Pick a particular duplicate record
- Replies: 24
- Views: 9215
Well, that's exactly the design I mentioned would do. In the Transformer Stage create the Dummy column similarly as mentioned earlier. If Field2 = '0001' Then 1 Else 0 In the Remove Duplicates Stage, mention Field 1 as the Key on the Stage properties tab. But in the Input >> Partitioning tab after s...
- Tue Aug 03, 2010 9:07 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Pick a particular duplicate record
- Replies: 24
- Views: 9215
In my mind this is still a simple design unless I am not understanding your requirement completely. I looked at your first post and I don't think the example you provided correctly reflects the issue you have. Can you be more specific with your example, lets say with about 4-5 sample records and how...
- Tue Aug 03, 2010 8:47 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Pick a particular duplicate record
- Replies: 24
- Views: 9215
Nope. You have to define your dummy column in a way that you can identify the values you need drop when they have duplicates. Something like If Field = '0001' Then 1 Else 2 In the Remove Duplicates, while you hash partition and sort the data on the keys, you need to just sort the data on the Dummy c...
- Tue Aug 03, 2010 8:24 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Reg: Reference data size for lookup stage.
- Replies: 7
- Views: 3775
- Tue Aug 03, 2010 7:17 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Unable to connect the database
- Replies: 21
- Views: 8839
- Mon Aug 02, 2010 9:41 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: surrogate key logic not working on 4 node
- Replies: 9
- Views: 4539
- Mon Aug 02, 2010 3:03 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Pick a particular duplicate record
- Replies: 24
- Views: 9215
- Mon Aug 02, 2010 1:58 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Record is too big to fit in a block error
- Replies: 3
- Views: 10445
- Mon Aug 02, 2010 1:33 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Sparse Lookup and Normal Lookup
- Replies: 3
- Views: 2285
- Sun Aug 01, 2010 2:24 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Inserting the data into db2 using db2 connector stage
- Replies: 5
- Views: 5473
- Sat Jul 31, 2010 5:12 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: how to solve this
- Replies: 2
- Views: 1660
- Sat Jul 31, 2010 5:07 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Inserting the data into db2 using db2 connector stage
- Replies: 5
- Views: 5473
- Fri Jul 30, 2010 4:37 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Inserting the data into db2 using db2 connector stage
- Replies: 5
- Views: 5473
Re: Inserting the data into db2 using db2 connector stage
You will have to give us more details on what you are trying to do in your datastage job and what is not working, what stages you are using and the database you are connecting to. What are the options you are using within the database stage? Upsert or User defined updated sql etc etc
- Fri Jul 30, 2010 2:21 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to run the same sequencer over and over each day
- Replies: 7
- Views: 2004
You need to create a Job Sequence lets say A with a Start Loop, Job Activity and End Loop. The Counter in the Start Loop should be set how many times you want the job to run. Now, you need to create another Job Sequence(Master/Parent Sequence) with Job Sequence A in it and schedule the Master Sequen...