LastrowinGroup function in datastage

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
mvrkreddy
Participant
Posts: 12
Joined: Sun Apr 13, 2014 11:46 pm

LastrowinGroup function in datastage

Post by mvrkreddy »

can i use 3 LastrowinGroup functions with different columns in one transform stage ????
RAJESH
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Not quite sure what you mean but since you can only have one group there, then yes but only if the 'different' columns are a subset of the grouping columns on the leading edge.

Or at least that what I'm thinking. Would have been easier just to say no. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Have you tried it?

I can't envisage how you would manage the three separate grouping (sorting) requirements.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

Choose a job you love, and you will never have to work a day in your life. - Confucius
prahul4all
Participant
Posts: 5
Joined: Wed Mar 26, 2008 1:06 am
Location: trivandrum
Contact:

Re: LastrowinGroup function in datastage

Post by prahul4all »

LastRowInGroup Function can be used more than once,This case occurs when we want to use LastRowInGroup function for more than one field.But Before using this function the fields used in this function should be sorted.

See the below link for better understanding
http://www.idatastage.com/lastrowingrou ... datastage/
Post Reply