What will happen when Mapping variable and Mapping parameter
is not defined or given?
Where do you use mapping variable and mapping parameter?

Answers were Sorted based on User's Feedback



What will happen when Mapping variable and Mapping parameter is not defined or given? Where do yo..

Answer / krishnam

If the MP or MV is not defined then infa server will take
the default values. The order is: First it will serch in
Parameter file for the values, then repository( in case of
MV), if the value is not found then it will look for
initial value. If it can not find the value it will take
default values.

Is This Answer Correct ?    24 Yes 3 No

What will happen when Mapping variable and Mapping parameter is not defined or given? Where do yo..

Answer / reddevilzz

For mapping parameters, there cud be a scenario as below
Lets say I have a sql override as ,
Select emp_no, emp_name from emp where $$Hint1
In parameter file, I have $$Hint1 = dept_id in (1,2)
if $$Hint = <empty>, in parameter file, in this case the
mapping will fail because, SQ would not be able to prepare
the query,

In another scenario, i can have SQ override as
Select emp_no, emp_name from emp $$Hint1
In parameter file, I have $$Hint1 = where dept_id in (1,2)
if $$Hint = <empty>, in parameter file,
still the mapping will be executed.

Is This Answer Correct ?    8 Yes 0 No

What will happen when Mapping variable and Mapping parameter is not defined or given? Where do yo..

Answer / santosh

First i will look in PARAMETER FILE
then
2)Value in pre-session variable assignment

then

3)value saved in repository
then

4)Initial value

And

5)Data type default value

Is This Answer Correct ?    10 Yes 2 No

What will happen when Mapping variable and Mapping parameter is not defined or given? Where do yo..

Answer / nagaraju bhatraju

If Mapping Parameter or variable is not defined in
parameter file session will fail, but if default value is
defined at , then session will take those default values.

Is This Answer Correct ?    9 Yes 2 No

What will happen when Mapping variable and Mapping parameter is not defined or given? Where do yo..

Answer / ashok\

It's does not impact on any thing if you dont use .
If we require then we will go for mapping parameters and
variable.If suppose,we use Mapping Parameters or varaibles
then we must define at mapping level and we should give
parameter file name and path at session level other wise
session will fail.

Is This Answer Correct ?    3 Yes 3 No

What will happen when Mapping variable and Mapping parameter is not defined or given? Where do yo..

Answer / karthiga

If mapping parameter and variable is used in the mapping
but nowhere defined or given, then session will fail.

we can define the Mapping parameter and variable using:
mappings>parameters and variables>declare parameters and
variables.
we will specify the value directly in default value or else
specify it in the parameter file.

Usually, we will specify in parameter file.

Is This Answer Correct ?    2 Yes 2 No

What will happen when Mapping variable and Mapping parameter is not defined or given? Where do yo..

Answer / bsgsr

to my knowledge when the values of mapping parameter or
variable is not defined session takes null instead n hence
the session fails. they can b used in mapping or mapplet.

if wrong pls post the krect answer.

reach me on 9866188658

Is This Answer Correct ?    5 Yes 6 No

What will happen when Mapping variable and Mapping parameter is not defined or given? Where do yo..

Answer / abhishek

we can use it in parameter files.

Is This Answer Correct ?    1 Yes 4 No

What will happen when Mapping variable and Mapping parameter is not defined or given? Where do yo..

Answer / rao

What will happen when Mapping variable and Mapping parameter
is not defined or given?
Where do you use mapping variable and mapping parameter?

If not declared in Parameter file, power center server will
try to fetch the value from initial value. If not then from
the default value.

Is This Answer Correct ?    0 Yes 3 No

What will happen when Mapping variable and Mapping parameter is not defined or given? Where do yo..

Answer / karthiga

If mapping parameter and variable is used in the mapping
but nowhere defined or given, then session will fail.

we can define the Mapping parameter and variable using:
mappings>parameters and variables>declare parameters and
variables.
we will specify the value directly in default value or else
specify it in the parameter file.

Usually, we will specify in parameter file.

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More Informatica Interview Questions

Explain the difference between mapping parameter and mapping variable?

0 Answers  


I have id, seq_no date, bill_amt and weight 1,11,'01-Jan-2014',100,2 2,12,'01-Jan-2014',40,5 3,13,'01-Jan-2014',32,5 4,14,'01-Jan-2014',98,2 5,15,'01-Jan-2014',105,3 6,16,'01-Jan-2014',11,3 1,11,'02-Jan-2014',40,2 2,12,'02-Jan-2014',100,5 3,13,'02-Jan-2014',132,5 4,14,'02-Jan-2014',198,2 5,15,'02-Jan-2014',15,3 6,16,'02-Jan-2014',16,3 Now I need output as date MXAMT_LSTWGHT MINAMT_GRTWGHT 01-Jan-2014 100 32 02-Jan-2014 198 100 Could not think of mapping to do so. Please help

1 Answers   Axtria,


How to display session logs based upon particular dates. If I want to display session logs for 1 week from a particular date how can I do it without using unix.

1 Answers   DELL,


Do you find any difficulty while working with flat files as source and target?

0 Answers  


suppose i have source 101 a 101 b 101 c 101 d i want target like 101 abcd how will u achive this please give me the answer

5 Answers   ITC Infotech, TCS,






How i can upload the MainFrame source For Informatica ?

1 Answers  


Issue with Update override at Target table in Informatica.

2 Answers  


Can we create a Integration service without a Repository service and vice versa?

0 Answers  


What are the different types of Type2 dimension maping?

1 Answers  


If the records doesnt satisfy the filter condition where will it go?

10 Answers   IBM,


What is the commit type if you have a transaction control transformation in the mapping?

0 Answers   Informatica,


How to do unit testing in informatica? How to load data in informatica ?

0 Answers  


Categories