Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

souce file having the columns like
name company
krish IBM
pooja TCS
nandini WIPRO
krish IBM
pooja TCS
if first row will be repeat i want the result like this
name company count
krish IBM 1
pooja TCS 1
nandini WIPRO 1
krish IBM 2
pooja TCS 2


Answer Posted / shasank, pr3systems

use transforemr stage and give three stage variable with intial value as 0,
then give (if company=ibm then count=count+1 else stgvar1)
like give three conditions for remaing two companies in two stage variables)
and in column derivation give if company=ibm then stgvar1 else
if company=wipro then stgvar2 else if company=tcs then stgvar3 else 0(company not in list)

Is This Answer Correct ?    7 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are some prerequisites for datastage?

1100


What are the different options associated with dsjob command?

1442


which r the connectors used in san?

2188


Is the value of staging variable stored temporarily or permanently?

1000


explain about completely flow of sequencers technicaly,without using example??explain about lookup,nullhandling?

2498


What are the types of containers in datastage?

1193


Is possible to create skid in dim,fact tables?

2639


Can you explain engine tier in information server?

1135


Explaine the implimentation of scd's in ds indetail, please send me step by step procedure to perform scd's 1,2,3. Please replay for this, Thanks in advance

2224


On which Dimension Table you implemented SCD Type in your Project

2053


What is the process of killing a job in datastage?

1020


how to abort the job its matain duplicates?

2574


how to use self join using datastage ? can u tell me using stage how can we implemnet the self join

5124


Explain the importance of surrogate key in data warehousing?

1192


What are system variables and sequencers in datastage

1117