Explain the mapping variable usage example in informatica



Explain the mapping variable usage example in informatica..

Answer / Lalitendra Singh Rana

Mapping variables can be used to pass dynamic runtime values from one transformation to another or from one session to another session. Here is an example of a simple mapping variable usage in Informatica:nnFirst, define a mapping variable called 'counter' with a default value of 0.nNext, within a transformation, increment the counter by 1 using an expression transformation:n```expressionncounter = counter + 1;n```nFinally, pass the counter to the next session or transformation and use it there as needed.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Informatica Interview Questions

what is shared lookup&persistent lookup?

4 Answers   Accenture, Cap Gemini,


What does refresh system mean, and what are its distinctive choice?

1 Answers  


how we can update a target table without update strategy and update override?

3 Answers   TCS,


if i am having 10 records in source, i want 20 records in target...how will you do it

13 Answers   BirlaSoft, IBM,


What is Performance tuning in Informatica?

1 Answers   CTS, GE, TCS,


Plz can anybody send Informatica and Cognos FAQ Plz To thid ID ppradeep_dwh@yahoo.co.in

1 Answers  


how can we update without using update transformation. wt is push down operation in informatica. which lookup gives more tuning performance. if so why.

6 Answers   CTS, Symphony,


Where do you create/define mapping parameter and mapping variable?

1 Answers  


How do you set a varible in incremental aggregation

1 Answers  


Tell me about informatica architecture.

2 Answers   TCS,


I have 10 columns in a flat file and 10 rows corresponding to that columns. I want column number 5 and 6 for last five records. In unix as well as informtica.

1 Answers   CTS,


Explain the informatica workflow?

1 Answers  


Categories