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...

I am having a FLAT FILE SOURCE as first line:
1000,null,null,null
second line as:null,2000,null,null 3rd line
as :null,null,3000,null and final line as:
null,null,null,4000 ............................Now i want
the OUTPUT as 1000,2000,3000,4000 to a FLAT FILE only.For
more clarification i
want to elimate nulls and want in a single line. Please
help me out

Answer Posted / sushma

FF ---> SOURCE QUALIFIER ---> EXPRESSION ---> AGGREGATOR ---
>TARGET FILE

In Expression TRFM,
a) for each column, create an expr to replace null values
with 0.
IIF(ISNULL(port_name),0,port_name)
b) create an output port (dummy_col) and set its value to 1

In Aggregator TRFM
a) Group by the dummy_col
b) for each of the 4 columsn, find the max value

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are different types of transformations available in informatica?

935


Design a mapping to load the cumulative sum of salaries of employees into target table?

1422


What is the benefit of session partitioning?

1042


What is the need for an etl tool?

1010


Differentiate between reusable transformation and mapplet.

1028


In informatica workflow manager, how many repositories can be created?

1267


How to use procedural logic inside infromatica?

1133


What is Data Caches size?

1032


How to load the data from people soft hrm to people soft erm using informatica?

949


wf dont have integration severances how you can run?

1883


Differentiate between Load Manager and DTM?

2093


What is update strategy transform?

1015


What is xml source qualifier transformation in informatica?

1174


What is the use of source qualifier?

1070


write a query to retrieve the latest records from the table sorted by version(scd)

1004