GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  Data Warehousing
Go To First  |  Previous Question  |  Next Question 
 Data Warehousing  |  Question 75 of 92    Print  
What is the difference between mapping parameter & mapping variable in data warehousing?
What are the types of variable available in data warehousing?

  
Total Answers and Comments: 3 Last Update: July 19, 2008     Asked by: vikram 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
November 17, 2007 06:49:52   #1  
Thananjayan Member Since: November 2007   Contribution: 15    

RE: What is the difference between mapping parameter &...
Hi,

Mapping parameter is a dynamic,normally pass the value to this parameter through the prarameter file(.par file).we can pass the parameter dynamically at every time the session runs.This can be set to the relevent variable,called by using the $$ sign.

Mapping variable is static.we can't change the value of this variable during runtime.

Cheers,
Thana

 
Is this answer useful? Yes | No
March 18, 2008 02:57:53   #2  
VVM.SP Member Since: March 2008   Contribution: 7    

RE: What is the difference between mapping parameter & mapping variable in data warehousing?What are the types of variable available in data warehousing?
Mapping Parameter: Define the constant value, it can't change the value throught the session.

Mapping Variables: Define the value, It can be change througout the session

 
Is this answer useful? Yes | No
July 18, 2008 11:12:20   #3  
fir_dan Member Since: July 2008   Contribution: 2    

RE: What is the difference between mapping parameter & mapping variable in data warehousing?What are the types of variable available in data warehousing?
A mapping parameter is a static value that you define before running the session and it retains the same value till the end of the session. Define a parameter in paramaeter 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 retains the same value throughout the session. When the session run again it reads from the 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 session and changes its value by using variable functions and before ending the session its saves the current value (last value held by the variable). Next time when the session 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 a session is run, the variable will have a value of 3 on its 4th run.  The variable value will not be saved by the session when it fails or when it is configured for a test load or when it runs on a debug mode. There is also another option not save the variable value at the end of the session by discarding session output so it that everytime it starts it will take the intial value not the last saved value.

Thanks,
Dani.

A variable type is defined based on its aggregation viz count, min and max. Informatica give three functions for the three variable functions for each of this type SetCountVariable, SetMaxVariable, SetMinVariable. It also limits the datatypes used within these types like the count type can have only integer and small integer datatypes where as min and max can use any datatype. A variable cannot use a binary datatype.

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape