Read without ads and support Scribd by becoming a Scribd Premium Reader.
 
INFORMATICA FAQ’S & SENARIOS-1
By PenchalaRaju.Yanamala
1.
What are mapping parameters and mapping variables?
ANS: Mapping parameter represents a constant value that you can define beforerunning a session. A mapping parameter retains the same value throughout theentire session. When you use the mapping parameter, you declare and use theparameter in a mapping. Then define the value of parameter in a parameter filefor the session. Unlike a mapping parameter, a mapping variable represents avalue that can change throughout the session. The informatica server saves thevalue of mapping variable to the repository at the end of session run and usesthat value next time you run the session.2.
How to create mapping parameters?
 Ans: we can create mapping parameters in informatica designer.3.
What is use of mapping parameters? Mapping variable?
Ans: See the answer given in the above 1st question.4
. What is use of session parameters?
Ans: Session parameters are like mapping parameters represents values u mightwant to change between sessions such as database connections or source files.Server manager also allows u to create user defined session parameters.Following are user defined session parameters.Database connections: You can give database connections here.Location of Source file names: Use this parameter when u wants to change thename or session source file between session runs.Location of Target file name: Use this parameter when u wants to change thename or session target file between session runs.Location of Reject file name: Use this parameter when u wants to change thename or session rejects files between session runs.5.
What do you know about debugging?
 Ans: If a session fails or expected data does not come in target table then we usedebugger. By using debugger we can know where the exact fault will be.
: In real time scenario where can we use mapping parameters andvariables?
Before using mapping parameters and mapping variables weshould declare these things in mapping tab of mappingdesigner.A mapping parameter cannot change untill the session hascompleted unless a mapping variable can be changed inbetween the session.Example:::
 
if we declare mapping parameter we can use that parameter untill completing the session,but if we declare mappingvariable we can change in between sessions.Use mappingvariable in Transcation Control Transformation...... If mapping parameters and variables are not given we cannot call values ndifferent mappings. We define mapping parameters and variables in mappingdesigner.Thanks Deepak. But does it take any null values or any default values to run themapping.
What is the difference between mapping parameter & mapping variable indata warehousing?What are the types of variable available in datawarehousing?
 Mapping Parameter: Define the constant value it can't change the value throughthe session.Mapping Variables: Define the value It can be change throughout the session Mapping parameter is a dynamic normally pass the value to this parameter through the prarameter file(.par file).we can pass the parameter dynamically atevery time the session runs.This can be set to the relevent variable called byusing the $$ sign.Mapping variable is static.we can't change the value of this variable duringruntime.
mapping parameter is a static
value that you define before running the sessionand it retains the same value till the end of the session. Define a parameter inparamaeter file (.par) and use it in mapping or maplet and when PowerCenter server the runs the session it evaluates the value from the parameter and retainsthe same value throughout the session. When the session run again it reads fromthe file for its value.A
mapping variable is dynamic
or changes anytime during the session.PowerCenter reads the intial value of the variable before the start of the sessionand changes its value by using variable functions and before ending the sessionits saves the current value (last value held by the variable). Next time when thesession runs the variable value is the last saved value in the previous session.For example if you have a count variable that it gets incremented every time asession is run the variable will have a value of 3 on its 4th run. The variable valuewill not be saved by the session when it fails or when it is configured for a testload or when it runs on a debug mode. There is also another option not save thevariable value at the end of the session by discarding session output so it thateverytime it starts it will take the intial value not the last saved value.What r the session parameters?Session parameters r like maping parameters,represent values U might want tochange betweensessions such as database connections or source files.
 
Server manager also allows U to create userdefined sessionparameters.Following r user definedsession parameters.Database connectionsSource file names: use this parameter when u want to change the name or location of session source file between session runsTarget file name : Use this parameter when u want to change the name or location of session target file between session runs.Reject file name : Use this parameter when u want to change the name or location of session reject files between session runs.
1.Explain your complex mapping.
Ans: In one of my mappings I felt complexity. I used unconnectedlookups, stored procedure, expression transformations, router transformations,Joiner transformation using conditions. The main complexity I felt is to maintainSCD 2 type in my mapping and I used to maintain the history of data.I used unconnected lookup to see whether the data exist in the target table or not. Similarly I want to call the lookup transformation in different expressions so Iused unconnected lookup. I used stored procedure transformation because Iwant to calculate expressions for the records coming from the database itself. Iused router transformation because I am having multiple conditions based on theflag value which I set, so for that purpose I used router. I used update strategytransformation to make inserts and updates for the data coming from the source.I also used Joiner transformation because I used more than one sourceaccording to the logic and I need to join them and so I used joiner.
2.Current mapping.Ans:
Raju in complex mapping you remove some transformations and tell themthat this is my current mapping.
3.Master detail tables which u will load first and why?Ans:
First we will load data into Master table. Because with reference to master table we will load data into detail table. As here primary key and foreign keyrelation ship acts.
4.Session partitions.
Ans: Partitioning we will use to increase performance. In session propertieswe will use partitioning. Types of partitioning are round robin, hash key, passthrough, and key range. According to the need we will partition data. By defaultsource qualifier and target table will have partition points.Round robin partitioning will equally divide data passing through the partitions.For example if there are 150 records and we divide into 3 partitions then eachpartition will get 50 records.Pass through partition will simply pass data from source to target. It does notcontain any partition point.
Search History:
Searching...
Result 00 of 00
00 results for result for
  • p.
  • Notes
    Load more