No need for 2 passes.
1. Read the data, split the stream into two links, A and B
2. Link A does a aggregation on a dummy column to produce one row with the sum.
3. Link B does an inner join to the aggregator output of A
Search found 15603 matches
- Wed Mar 12, 2008 4:29 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: percent_rank() function in Datastage
- Replies: 11
- Views: 6382
- Wed Mar 12, 2008 4:13 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: difference between dataset and fileset
- Replies: 1
- Views: 976
Hello rajreddy. This type of question will usually not get answered on DSXchange as it shows a disrespect to the forum. If you aren't willing to read the documentation why should someone else go to the effort of writing lots of details? In addition, searching on "dataset fileset difference" will res...
- Wed Mar 12, 2008 3:56 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Problem with converting EBCDIC to ASCII
- Replies: 10
- Views: 9897
- Wed Mar 12, 2008 3:40 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: CHAR(255) in a hashed file
- Replies: 12
- Views: 4696
- Wed Mar 12, 2008 3:38 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: DateTime using RowGenerator gives incorrect output
- Replies: 15
- Views: 4098
- Wed Mar 12, 2008 3:34 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How2 specify column in sequencer-nested condition-Expressin?
- Replies: 1
- Views: 631
- Wed Mar 12, 2008 3:31 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: CHAR(255) in a hashed file
- Replies: 12
- Views: 4696
- Wed Mar 12, 2008 3:28 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: types of errors
- Replies: 3
- Views: 1241
- Wed Mar 12, 2008 3:09 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: CHAR(255) in a hashed file
- Replies: 12
- Views: 4696
- Wed Mar 12, 2008 3:06 am
- Forum: General
- Topic: sqloInit.log - in /tmp - any ideas why DS writes this file ?
- Replies: 7
- Views: 2682
If you don't like the restricting of texts for a just a handful of posters, what is your recommendation for making this site pay for itself instead of costing someone (else's) money? Remember that some of these posters are paid over $100 per hour of work and are doing this DSXchange work without any...
- Tue Mar 11, 2008 12:31 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: How to extract data from VSAM file using CFF stage
- Replies: 9
- Views: 3070
- Tue Mar 11, 2008 12:06 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: How to extract data from VSAM file using CFF stage
- Replies: 9
- Views: 3070
- Tue Mar 11, 2008 12:04 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Command line orchadmin ll <dataset> core dumps
- Replies: 5
- Views: 2142
- Tue Mar 11, 2008 11:40 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: How to extract data from VSAM file using CFF stage
- Replies: 9
- Views: 3070
- Tue Mar 11, 2008 11:37 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Appending of double quota at both ends of row
- Replies: 0
- Views: 526
I would add a filter stage to the job with the command
(I'm sure there is a better way to do it, but I'm not certain of the syntax)
Code: Select all
sed 's/^/"/;s/$/"/'
(I'm sure there is a better way to do it, but I'm not certain of the syntax)