You are on page 1of 3

What are the uses of a Parameter file?

Parameter files are created with an extesion of .PRM These are created to pass values those can be changed for Mapping Parameter and Session Parameter during Mapping run. Mapping Paramters: A Parameter is defined in a parameter file for which a Parameter is create already in the Mapping with Data Type , Precision and scale. The Mapping parameter file syntax (xxxx.prm). [FolderName.WF:WorkFlowName.ST:SessionName] $$ParameterName1 =Value $$ParameterName2 =Value After that we have to select the properties Tab of Session and Set Parameter file name including physical path of this xxxx.prm file. Session Parameters: The Session Parameter file syntax (yyyy.prm). [FolderName.SessionName] $InputFileValue1=Path of the source Flat file After that we have to select the properties Tab of Session and Set Parameter file name including physical path of this yyyy.prm file. Do following changes in Mapping Tab of Source Qualifier's Properties section Attributes values Source file Type ---------> Direct Source File Directory --------> Empty Source File Name --------> $InputFileValue1

How to generate a single mapping for both the historical and incremental load.
Used a router on only populate target two in the mapping on EOM. The table was partitioned by day key and month key. This required only one running of the mapping. A second method was to use the a lookup override to provide the month key from the monthly session. This required running the mapping twice.

Question
In real time scenario where can we use mapping parameters and variables? Before using mapping parameters and mapping variables we should declare these things in mapping tab of mapping designer. A mapping parameter cannot change untill the session has completed unless a mapping variable can be changed in between the session. Example::: if we declare mapping parameter we can use that parameter untill completing the session,but if we declare mapping variable we can change in between sessions.Use mapping variable in Transcation Control Transformation......

Question
By using Filter Transformation,How to pass rows that does not satisfy the condition(discarded rows) to another target?

u can not pass the rows if condition is not satisfy .

Question
Hi Friends, I want lo truncate my records from target before loading current month data,but i dont have permission to truncate with truncate option

1. While creating connection, use such a generic id, which have all the permission on DB objects. This way you definitely can play with your Target object. 2. If no such credential available then, Delete and commit process can be implemented in pre-sql.. but process will become very slow (depends on volume of data).

I have table name called Team and I have name and DOJ in that table in oracle, when I retrive the table in Informatica DOJ shows with date and time , I want want to know is it possible to get only date(MMDDYYYY) in the date data type, Answer #3
You can use TRUNC function in exp transformation e.g TRUNC(to_date(fieldname,'mmddyyyy')

I have table name called Team and I have name and DOJ in that table in oracle, when I retrive the table in Informatica DOJ shows with date and time , I want want to know is it

possible to get only date(MMDDYYYY) in the date data type, Answer #2


TO_CHAR(DOJ_port, 'MMDDYYYY')

You might also like