Search found 89 matches
- Wed Jan 21, 2009 3:30 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Multiple Rows into 1 Column
- Replies: 2
- Views: 1901
Hi, You can do it in transformer. Inside the transformer, input link sort and partitioned on key. Define two stage variable, count (number) and IDS varchar. Append ID in IDS based on key and create output link with these two additional field. Next stage is remove duplicate with SAME partitioning met...
- Wed Jan 21, 2009 3:29 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Multiple Rows into 1 Column
- Replies: 2
- Views: 1901
Hi, You can do it in transformer. Inside the transformer, input link sort and partitioned on key. Define two stage variable, count (number) and IDS varchar. Append ID in IDS based on key and create output link with these two additional field. Next stage is remove duplicate with SAME partitioning met...
- Tue Nov 11, 2008 10:36 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Switch Activity - specifying ranges
- Replies: 3
- Views: 1630
- Tue Nov 11, 2008 10:33 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: how to capture the no of records inserted and updated
- Replies: 8
- Views: 3685
Add a row generater with three column Type INS Priority 2 and Count 0 After your aggr stage add a funnel and put these twwo link. After funnenl add remove duplicate based on Type and priority desc. If nothing comes from Aggr it has only one row, but if something coming from Aggr then it will take th...
- Fri Oct 10, 2008 1:30 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Spliting data using transformer vs filter stage
- Replies: 6
- Views: 2267
- Fri Oct 10, 2008 12:59 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Oracle enterprise stage
- Replies: 15
- Views: 3654
- Fri Oct 10, 2008 12:21 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Oracle enterprise stage
- Replies: 15
- Views: 3654
- Fri Oct 10, 2008 9:21 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Spliting data using transformer vs filter stage
- Replies: 6
- Views: 2267
Spliting data using transformer vs filter stage
Hi All, In my job I am spliting the data based on some criterion and by using filter stage. I received the comment from the reviewer : "It is actually more efficient to use a transformer because the transformer is compiled and the filter is interpreted and adds more overhead than the transforme...
- Fri Oct 10, 2008 9:14 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Loading parent/child tables in one job
- Replies: 9
- Views: 4106
- Fri Oct 10, 2008 8:41 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Loading parent/child tables in one job
- Replies: 9
- Views: 4106
Sorry for late reply !!!!!!!!!!!!! parentlink seqfile----->Xmer------->OraEnterpStgforParent | | childlink | / |parentrejectlinkrom Oracle stage | / | / | / V V JoinStg (with sort restrict till parent finished) | | | V OraEnterpStgforChild Assuming that there should not be any data coming from paren...
- Thu Sep 25, 2008 2:17 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Loading parent/child tables in one job
- Replies: 9
- Views: 4106
Yes you can do this but it is tricky. First of all you need to ensure the parent population first and then child. 1. Use parent oracle stage write method as upsert 2. Parent oracle stage properties : Reject mode is true 3. Get reject link from that parent oracle stage and join with the input child l...
- Mon Aug 25, 2008 8:58 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Padding NULL to string
- Replies: 3
- Views: 1852
- Wed Aug 06, 2008 10:37 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Problem writing a Parallel Routine
- Replies: 4
- Views: 1559
- Wed Aug 06, 2008 10:07 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Spliiting a single row into multiple row
- Replies: 7
- Views: 2486
- Wed Jul 23, 2008 2:52 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How can I achive this?
- Replies: 3
- Views: 1511
Now I understand the probelm ( probably !!). I think you can partition by member id and sort by IC_DT (Desc) as input to your transformer. 1. Add one stag_var for mem id and defaulted to some value. 2. Add another stage var as date for stgEndDt, stgPrevEndDt 3. IF link.mem_id <> stgMemId then 12/31/...