Search found 36 matches

by dohertys
Fri Nov 23, 2007 9:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Modify Stage - what can it do?
Replies: 4
Views: 2002

Modify Stage - what can it do?

From looking at other posts regarding the modify stage I'm aware that there are some functions that you can use which don't appear in the documentation. Can you tell me the best place to look for a full list of what it can do? I know you can add a column with it, but can you then set that column to ...
by dohertys
Fri Nov 23, 2007 9:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Remove duplicates stage on data sorted on different keys
Replies: 8
Views: 4161

Remove duplicates stage on data sorted on different keys

I've working on some code where I need to sort the data on 1 set of keys, and then remove adjactent rows where some other fields have identical values... i.e. For this input data... Key1 DateKey Value 1 2007-01-04 A 1 2007-01-03 B 1 2007-01-02 B 1 2007-01-01 A I want the following output Key1 DateKe...
by dohertys
Mon Oct 29, 2007 4:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to handle þ character in a field in a sequential file
Replies: 4
Views: 5885

Thanks all,

so ...I've put a filter of 'tr '\376' '|' onto my sequential file stage

and then used the 'Field' function with a delimiter of '|' to split the field up in a transformer stage.

This should be ok in server and px.
by dohertys
Fri Oct 26, 2007 7:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: sql GROUP BY CUBE- how would you recreate this in datastage?
Replies: 4
Views: 1320

Right, I'm convinced then. SQL it is.

Thanks for your responses.
by dohertys
Fri Oct 26, 2007 6:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: sql GROUP BY CUBE- how would you recreate this in datastage?
Replies: 4
Views: 1320

Me, I wouldn't and would use a BI tool for that, not an ETL tool... but that's just me. I would agree, but I've been asked to produce this data into a table so that the front end developers don't have to do anything too complicated (just make it pretty and do simple selects). Good point about my la...
by dohertys
Fri Oct 26, 2007 4:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: sql GROUP BY CUBE- how would you recreate this in datastage?
Replies: 4
Views: 1320

sql GROUP BY CUBE- how would you recreate this in datastage?

I'm producing a report based on the following sql select key1, key2, key3, sum(value1), SomeCalculation(value2), Avg(Value3) from MyTable group by cube key1, key2, key3 If I instead just brought back the basic rows from the database (without the group by cube and the calculations), how would I recre...