Informatica Senarios-1 by PenchalaRaju.Yanamala
1. I have a flat file, in which I have two fields, emp_id, emp_name. The data is likethis- emp_id, emp_name soha101, ali101, kahn101 khan102, Siva102, shanker102,reddy.how to merge the names so that my output is like thisEmp_id Emp_name101 Soha ali Kahn?
A:-In expression transformation use an output port ...in expression window writeemp_id||empname
2. How to join a Flat and Relational Source without using (Joiner, Update, Lookup)transformations... is it possible? If yes i would like to know how?
A:- not possible
3. I have a source which relational, I am trying to populate to target flat file with onecolumn for daily date which is sysdate, I want to populate the sysdate coulmn withDD/MM/YYYY format. Kindly provide a solution for this. My clear that my target is flatfile.
A: - In expression transformation create one out put port, and write like:TO_DATE ('SYSDATE'.'DD/MM/YYYY').Connect this port to target.
4. If the source has duplicate records as id and name columns, values: 1 a, 1 b, 1 c,2 a, 2 b, the target should be loaded as 1 a+b+c or 1 a||b||c, what transformationsshould be used for this?
A: - We need to use sorter, Expression and aggregator transformations to do this…..1. Sort by ID2.Take 2 variable ports one for id and one for name and store the values of id and keepon comparing with current id i.e. variable is having previous id so if previous id=current idthen (variable name)||name otherwise only name. Assign the variable name to output port3. Use aggregator and use last or max (len (name)) to get the result.
5. How many repositories can you create in informatica?
A-In Informatica 8.6.0 multiple repositories can be created under node. The domain canhave multiple nodes.
6. Router T/R is active but some people are saying some times passive what isReason behind that?
A: - First of all Every Active transformation is a Passive transformation, But every passivenotActive.In Router Transformation there is a special feature with Default group. Because of DefaultGroup its passive. We can avoid this Default group by some transformation Settings,NowIt’s Active.