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
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
Whats there in global repository
How can we get multiple output values using an unconnected lookup transformation?
How to write a procedure for a date which is in three different formats,and you want to load into datawarehouse in any single date formate
Hi All, I have three question. 1) How to remove the header and footer in a flat file in informatica? 2)How to load the first and last record of flat file into the target? 3)I have a Input and Output table. Input Name Salaray Month A 100 Jan A 200 Feb A 300 March B 400 April B 500 May B 600 June Output Name Salaray Month A 100 Jan A 300 Feb A 600 March B 400 April B 900 May B 1500 June How to implement and get the ouput as mentioned above. If Possible kindly provide the SQL query also. Kindly any one help to implement this concept. Thanks, Pradeep
How to join a Flat and Relational Source without using (Joiner, Update and Lookup ) transformations... is it possible? if yes i would like to know how?
What is predefined event?
what are the unix commands to start the wrk flow ?
What is hash partition?
Difference between task flow and linear task flow
Is it possible to have "5 source & 5 Target" in single mapping?
what is pre and post sql and what is diff between source presql and target pre sql
Hi Friends, How i could convert a cobol file (VSAM) into the flat file? How i could edit a cobol source file (VSAM)? I want to introduce few columns in the source file and finally the target should be in the Cobol itself. Kindly suggest me friends. Thanks in Advance, Innai