How to use stage variable to count rows in transformer

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
swapna07
Participant
Posts: 22
Joined: Fri Mar 08, 2013 11:29 am
Contact:

How to use stage variable to count rows in transformer

Post by swapna07 »

Hi All,

I want to know how can I use stage variable in DS v 7.5.3 for getting the row count of total no.of records coming out of input link on one primary key. Can anyone help !!

Swapna
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Depends on what you want. Increment per row and then use Remove Duplicates to keep only the last row, perhaps. Or just use an Aggregator.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply